AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Open terminal ubuntu shortcut12/28/2022 Hostnamectl is a command that allows you to set the system hostname, but you can also use it to check your Ubuntu version. The output will look something like below: NAME="Ubuntu"Ĭheck Ubuntu version using the hostnamectl command # This method will work only if you have Ubuntu 16.04 or newer: cat /etc/os-release This file can be found only on the newer Ubuntu versions running systemd. etc/os-release is a file that contains operating system identification data. The output will look something like the below: Ubuntu 18.04 LTS \n \lĬheck Ubuntu version using the /etc/os-release file # Use the catĬommand to display the contents of the file: cat /etc/issue The /etc/issue file contains a system identification text. Check Ubuntu version using the /etc/issue file # The output should look similar to below: Description: Ubuntu 18.04 LTSĪlternatively, you can also use the following commands to check your Ubuntu version. Instead of printing all of the above information, you can display the description line, which shows your Ubuntu version passing the -d switch. As you can see from the output above, I am using Ubuntu 18.04 LTS. Your Ubuntu version will be shown in the Description line. lsb_release -a No LSB modules are available. Use the lsb_release -a command to display the Ubuntu version. Open your terminal either by using the Ctrl Alt T keyboard shortcut or by clicking on the terminal icon. This method will work no matter which desktop environment or Ubuntu version you are running.įollow the steps below to check the Ubuntu version from the command line: The preferred method to check your Ubuntu version is to use the lsb_release utility, which displays LSB (Linux Standard Base) information about the Linux distribution. The lsb_release utility displays LSB (Linux Standard Base) information about the Linux distribution. There are several commands that you can use to find out what version of Ubuntu you are running. #Open terminal ubuntu shortcut how toHow to Check Ubuntu Version from the Command Line # This article will show you how to find your Ubuntu version using the command line or from within the graphical interface. Other standard releases are supported for nine months. LTS versions are supported for five years on both desktop and server. New Ubuntu releases come out every six months, while LTS (Long Term Support) releases occur every two years. When you log in to an Ubuntu system for the first time, before doing any work, it is always a good idea to check what version of Ubuntu is running on the machine.
0 Comments
Read More
Leave a Reply. |