How to find the Ubuntu version and details of your Linux system

Here are the command-line tools that can help you in retrieving details of your Linux system. The details include Linux distro version, hostname, URLs to the bug report, the home page, and privacy policy pages.

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.

lsb_release -a

Display Ubuntu Version Using The lsb Command
Display Ubuntu Version Using The LSB Command

b) Using the lsb_release command with the “-d” option spits out the Ubuntu version.

lsb_release -d

Display Ubuntu Version Only Using The lsb Command
Display Ubuntu Version Only Using The LSB Command

c) Get the Ubuntu version from the “issue” file.

cat /etc/issue

Display Ubuntu Version From the issue File
Display 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.

cat /etc/os-release

Display Ubuntu Version From the OS release File
Display Ubuntu Version From the OS release File

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.

hostnamectl

Display Ubuntu Version Only Using The hostnamectl Command
Display Ubuntu Version Only Using The hostnamectl Command

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.

Select The Details Tab
Select the Details Tab

Step 2. From the left pane of your System Settings application, scroll down and open the Details tab.

Select The Details Tab
Select 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 SettingsUbuntu Version From System Settings

That’s it, for now, I hope you have enjoyed the guide.

Hend Adel
Hi! I'm Hend Adel, a freelancer technical geek with successful experience in Database, Linux and many other IT fields. I help to build solutions to suit business needs and creating streamlined processes. I love Linux and I'm here to share my skills via FOSS Linux! Thanks for reading my article.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,108FansLike
213FollowersFollow
7SubscribersSubscribe

LATEST ARTICLES

clipboard manager linux
We have all had that moment when we copied a text, but we first needed another one, and in the process, lost the first one. If you're lucky, you can get it back quickly with a bit of work.
Free up hard disk space ubuntu
Hard disk space can easily get filled up with cached package files, old kernels, and other obsolete files that occupy unwanted hard disk space. Here are top five best and safer ways to clean and free up hard disk space in Ubuntu. We show you Terminal and GUI way of cleaning up system.
terminate frozen app
For dealing with a frozen app or desktop, you can't use the CTRL+ALT+DEL in Linux system. Instead, there are powerful alternatives that come in handy in frustrating situations. We pick the best methods available for you.