Check your Ubuntu Version from command line

Photo by Gabriel Heinzer on Unsplash

There are several commands that you can use to find out what version of Ubuntu you are running. The lsb_release utility displays LSB (Linux Standard Base) information about the Linux distribution.

Use the lsb_release -a command to display the Ubuntu version.

$ lsb_release -a

Then the following output will display and its showing Ubuntu version as 18.04

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

Check your Ubuntu Version from command line


Instead of printing all of the above information, you can display the description line, which shows your Ubuntu version passing the -d switch.

$ lsb_release -d

Then you will see the output as below only displaying description.

Description:    Ubuntu 18.04.5 LTS

Check your Ubuntu Version from command line


What is zitURL - shorten link?

zitURL - shorten link is a completely free tool where you can create short links, which apart from being free, you get paid! So, now you can make money from home, when managing and protecting your links. Register now!

Shorten URLs and earn money

Signup for an account in just 2 minutes. Once you've completed your registration just start '. 'creating short URLs and sharing the links with your family and friends.