![]() The Linux kernel version is also listed, below, which may come in useful. If you just want that line, type lsbrelease -d. You can see that here it's listed after the virtualization field. 4 Answers Sorted by: 696 As said in the official page, use: lsbrelease -a Your version appears on the 'Description' line. Your output will look something like this after you run it: Static hostname: 6239e9f25da9df0001c02d5cIcon name: computer-vmChassis: vmMachine ID: 77bda48e97564a43b153b9d200d87794Boot ID: 39f6f600878847969fe1f0e7627e5173Virtualization: kvmOperating System: Ubuntu 20.04 LTSKernel: Linux 5.4.0-1009-kvmArchitecture: x86-64 This command is typically used to change hostname-related settings, but it also displays the Ubuntu version, so it's perfect for us here. Checking version number with hostnamectlįinally, you can query the system with the hostnamectl command. Open the terminal by pressing Ctrl + Alt + T or by searching for terminal in the application menu. The numbers next to DISTRIB_RELEASE and DISTRIB_DESCRIPTION represent your version. Users on interim releases such as Ubuntu 21.10 are prompted to upgrade within a few days of the next Ubuntu release becoming available. To do so, run the following command: cat /etc/lsb-release ![]() We hope that this article has helped you check your Ubuntu version information through the graphical interface or the terminal, and both methods are quick and easy. Use the cat /etc/lsb-release or cat /etc/issue command line. Use the lsbrelease -a or lsbrelease -d command line. If that method does not work for whatever reason, you can view the contents of your lsb-release file directly, which will contain the same information. Check your Ubuntu version in the GUI settings. You'll see your Ubuntu version displayed next to the Description and Release fields. Your output will look something like this: No LSB modules are available. There are several ways to check your Ubuntu version on the command line, however, we recommend using the lsbrelease command. LTS versions are supported for five years on both. The first is to simply open your terminal and type: lsb_release -a New Ubuntu releases come out every six months, while LTS (Long Term Support) releases occur every two years. There are two main ways to check your version number via the command line. Let's get started: How to check your Ubuntu version Naturally, the latter is only possible if you are using one of our Ubuntu Desktop servers with a functioning GUI. We'll be quickly running you through a few ways to find your version number using the terminal. As a result, knowing how to check your Ubuntu version is always a good idea. Type the following command, and then press Enter: lsbrelease -a Unlike when you use the graphical interface, this command also shows the minor version number of your installed Ubuntu version in the Description field (if applicable). Your Ubuntu version can affect various things, from the commands that you need to run to steps you should take to troubleshoot your system. In Ubuntu Linux, there are at least three commands available to check the apache version. First, open a Terminal window from your desktop's applications menu.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |