How To Check Your Ubuntu Version
It is always good to check the version of Ubuntu while working to avoid any conflicts with the other apps or repositories. In this tutorial, we will show you the easy way to check the version of Ubuntu that you are using.
How To Check Your Ubuntu Version
Go through the following steps to check the Ubuntu version from the command line. We will be using the lsb_release -a
command to display the Ubuntu version in your terminal.
lsb_release -a
Alternatively, you can also use the /etc/issue
file to see the Ubuntu version. We will use cat
the command to display the Ubuntu version from the etc/issue file.
cat /etc/issue
We can also see the version from the file /etc/os-release
. This will work only if you have Ubuntu 16.04 or newer:
cat /etc/os-release
Check the Ubuntu version using the hostnamectl
command
This command will work only on Ubuntu 16.04 or newer versions. Run this command to display the Ubuntu version:
hostnamectl
Check the Ubuntu version using the GUI Method
Open the system settings window by clicking on the Settings icon. In the system settings window, click on the Details tab and your Ubuntu version will be shown under the orange Ubuntu logo.