in

LinuxLinux

How To Check Ubuntu Version Using Terminal & GUI {Official Ubuntu}

Multiple ways to find the Ubuntu version using Terminal & GUI!!

Ubuntu version using GUI

C

heck Ubuntu Version: Each and everyday, The contributors all around the world keep on working to make the Ubuntu more efficient, bug free and useful to users. Official Ubuntu releases the new version of Ubuntu every 6 months. Recently Ubuntu 19.04 version has been launched and the previous version is Ubuntu 18.04 LTS. The term LTS means Long Term Support, The official Ubuntu provides the support for the version Ubuntu 18.04 up to 2020. The Ubuntu versions other than LTS have support for up to 9 months. The LTS versions have 5 years of support from Ubuntu. In this article, We provide different ways which include the Command Line Method & GUI method to find the Version of Ubuntu.

Jump To:

How to Check the Ubuntu Version using Terminal Command Line:

The common command for checking the Ubuntu Version is lsb_release, which displays the Version of the Linux. The LSB means Linux Standard Base information about Linux. This command will work in all the distributions of Ubuntu Linux.

How To Do:

  • Open Linux Terminal using the shortcut key “CTRL + ALT + T” or directly click the Terminal icon
  • Copy the command lsb_release -a & paste the copy in the terminal
  • Hit the enter button
  • The command will display the Ubuntu version in the terminal.
Output

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic

Output of LSB_Release -a command
The output of LSB_Release -a command

Filter out the Ubuntu version from the lsb_release:

If you want to display only the Ubuntu version other than all the details, use the following command:

$lsb_release -d

The output of the above command is,

Output
Description: Ubuntu 19.04

How To Find the Ubuntu Version using /etc/issue file:

With the help of the cat command, you can display the Ubuntu version of your pc with /etc/issue. Use the following command:

$cat /etc/issue

The output of the following command is,

Output
Ubuntu 19.04 \n \l
Output of the cat /etc/issue
Output of the cat /etc/issue

How To Find the Ubuntu Version using hostnamectl:

hostnamectl command will help you display the Ubuntu version. This command will work only in the Ubuntu version greater than 16.04. To display the Ubuntu version, use the following command:

$hostnamectl

The output of the above command is,

Output

Static hostname: tecrobust-ubuntu
Icon name: computer-laptop
Chassis: laptop
Machine ID: 8c13e58c114246c6be7ae54f68b1e772
Boot ID: 80a4c22610b2403e9bf486fd71c5e3d0
Operating System: Ubuntu 19.04
Kernel: Linux 5.0.0-20-generic
Architecture: x86-64

Output of hostnamectl command
Output of hostnamectl command

How To Find the Ubuntu Version using /etc/os-release file:

With the help of the cat command, you can display the Ubuntu version using the /etc/os-release command. Copy the below command and paste in your terminal to find your Ubuntu version.

$cat /etc/os-release

How To Find the Ubuntu Version using GUI:

Gnome is the default desktop environment in the Ubuntu 18.04 & 19.04 versions. Previous versions are using the Unity as the default environment.

  • Open Settings
  • Go to About option
  • The system details will appear on your screen
Ubuntu version using GUI
Ubuntu version using GUI

Verdict:

That’s it. We discussed the multiple ways to Check Ubuntu Version on your PC. If you have any queries related to this article kindly comment us below.

What do you think?

0 points
Upvote Downvote
Article Review
  • Article Explanation
  • Image Explanation
  • Commands Provided
  • Alternate ways
4.8

Summary

For more article, visit our Homepage

Leave a Reply

Your email address will not be published. Required fields are marked *

Written by Julian

Hello Folks! I'm Julian, Promoted to the Content writer for the category of Commands & Web Apps in Tec Robust. Enjoy my content & Learn more Linux Commands!

Contact me:
tecrobust [@] gmail.com
Sub: Message to Julian

HTML Encoder- HTML Escape

HTML ENCODE- Encode HTML Codes with our HTML Encoder(HTML Escape)

HTML Decoder- HTML Unescape

HTML Decode- Decode HTML Codes with our HTML Decoder(HTML Unescape)