YouTube Icon

Code Playground.

How to Check your Ubuntu Version


How to Check your Ubuntu Version

At the point when you sign in to a Ubuntu framework unexpectedly, prior to accomplishing any work, it is consistently a smart thought to check what adaptation of Ubuntu is running on the machine. 

New Ubuntu discharges come out at regular intervals, while LTS (Long Term Support) discharges happen like clockwork. LTS adaptations are upheld for a very long time on both work area and the worker, other standard deliveries are upheld for a very long time. 

In this instructional exercise, we'll tell you the best way to discover your Ubuntu rendition utilizing the order line or from inside the graphical interface. 

How to Check Ubuntu Version from the Command Line

There are a few orders that you can use to discover what adaptation of Ubuntu you are running. 

The lsb_release utility showcases LSB (Linux Standard Base) data about the Linux dissemination. 

The favored technique to check your Ubuntu adaptation is to utilize the lsb_release utility which shows LSB (Linux Standard Base) data about the Linux dispersion. This technique will work regardless of which work area climate or Ubuntu rendition you are running. 

Follow the means underneath to check Ubuntu rendition from the order line: 

Open your terminal either by utilizing the Ctrl+Alt+T console alternate route or by tapping on the terminal symbol. 

Utilize the lsb_release - an order to show the Ubuntu adaptation. 

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

Your Ubuntu rendition will be appeared in the Description line. As should be obvious from the yield above, I am utilizing Ubuntu 18.04 LTS. 

Rather than printing the entirety of the above data you can show the portrayal line which shows your Ubuntu form passing the - d switch. 

lsb_release -d

The yield should appear to be like underneath: 

Description:    Ubuntu 18.04 LTS

Then again, you can likewise utilize the accompanying orders to check your Ubuntu form. 

Check Ubuntu version using the /etc/issue file

The/and so forth/issue document contains a framework recognizable proof content. Utilize the feline order to show the substance of the document: 

cat /etc/issue

The yield will look something like beneath: 

Ubuntu 18.04 LTS \n \l

Check Ubuntu version using the /etc/os-release file

/and so on/os-discharge is a record which contains working framework ID information. This document can be discovered uniquely on the fresher Ubuntu variants running systemd. 

This strategy will work just in the event that you have Ubuntu 16.04 or more current: 

cat /etc/os-release

The yield will look something like underneath: 

VERSION="18.04 LTS (Bionic Beaver)"
PRETTY_NAME="Ubuntu 18.04 LTS"

Check Ubuntu version using the hostnamectl command

hostnamectl is an order that permits you to set the framework hostname, yet you can likewise utilize it to check your Ubuntu adaptation. 

This order will work just on Ubuntu 16.04 or more up to date forms: 

   Static hostname: linuxize
         Icon name: computer-vm
           Chassis: vm
        Machine ID: f1ce51f447c84509a86afc3ccf17fa24
           Boot ID: 2b3cd5003e064382a754b1680991040d
    Virtualization: kvm
  Operating System: Ubuntu 18.04 LTS
            Kernel: Linux 4.15.0-22-generic
      Architecture: x86-64

Check Ubuntu Version in the Gnome Desktop

Elf is the default work area climate in Ubuntu 18.04 (Bionic Beaver). Past forms of Ubuntu utilized Unity as the default work area climate. 

Follow the means underneath to check your Ubuntu rendition in the event that you are utilizing Gnome: 

Open the framework settings window by tapping on the Settings symbol, as appeared in the picture underneath: 

In the framework settings window click on the Details tab: 

Your Ubuntu adaptation will be appeared under the orange Ubuntu logo. 


In this guide, we have told you the best way to discover the adaptation of Ubuntu introduced on your framework. For more data on Ubuntu discharges visit the Ubuntu Releases page. 

In the event that you are running Ubuntu 16.04, and you need to move up to Ubuntu 18.04, check the accompanying guidelines: 

Step by step instructions to Upgrade Ubuntu To 18.04 (Bionic Beaver) 

Don't hesitate to leave a remark on the off chance that you have any inquiries.