In this beginner’s guide, let’s take a quick look at the ways to find the Ubuntu version you are running on your Linux PC. We will look at the command-line as well as the GUI ways of doing it.
Finding Ubuntu version and details of Linux system
We recommend the command-line way as you get more options, and the tool can retrieve more details than you get doing the GUI way.
Method 1: Get your Ubuntu version using command-line
Step 1. Launch the Terminal from the Activities menu. Or press the Ctrl+Alt+T from your keyboard.
Step 2. To get the current Ubuntu version you can use one of the following commands:
a) Use the lsb_release command with the “-a” option to get the Ubuntu current version alongside more details.
b) Using the lsb_release command with the “-d” option spits out the Ubuntu version.
c) Get the Ubuntu version from the “issue” file.
d) Yet another method is to look into the “os-release” file. This file contains your Ubuntu system identification data. It should provide you more information about the developer. The below example shows the home page URL, support URL, bug report URL, and the Privacy Page URL.
e) Use the “hostnamectl” command to know your Ubuntu version. This command displays your current machine hostname, but also it will give you some details about your system.
Method 2: Finding your Ubuntu Version via System Settings (GUI)
During this method, you can get the current Ubuntu version from the system settings application.
Step 1. From the status bar menu, select the System Settings icon.
Step 2. From the left pane of your System Settings application, scroll down and open the Details tab.
Step 3. You should get the Ubuntu version alongside the GNOME version and some other information about your machine.
Ubuntu Version From System Settings
That’s it, for now, I hope you have enjoyed the guide.