How To Get Ubuntu, Debian, Kali Release Version?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/get-ubuntu-debian-kali-release-version/
PINTEREST
PINTEREST
INSTAGRAM

I have take new job and I have a lot of new Ubuntu servers to manage. There is no inventory about the Ubuntu servers. I only know that they are Ubuntu. Is there a way to get Ubuntu version of this servers?

Linux Standards Base aka LSB defines standards for different Linux distributions. Ubuntu comply with LSB. In LSB complied distributions should store their release versions at /etc/lsb-release so we can simple Ubuntu version from there.

Current List Of Ubuntu Releases

Supported list of current Ubuntu releases are like below.

Current List Of Ubuntu Releases

Current List Of Ubuntu Releases

Print lsb-release File

Release related information is stored in file named /etc/lsb-release. We can use cat command simply print related information.

Print lsb-release File

Print lsb-release File

We will get following information from lsb-release file.

  • DISTRIB_ID shows distribution name
  • DISTRIB_RELEASE shows the release number
  • DISTRIB_CODENAME shows the release name
  • DISTRIB_DESCRIPTION shows user friendly distribution name

lsb_release Command

We can also use lsb_releasewhich is provided by default. Actually this command reads /etc/lsb-release file. We will also provide -a option in order to print all information.

lsb_release Command

lsb_release Command

Unity GUI

We can get version information from GUI too. OpenSystem Settins->Detailes will show following screen where information like version can architecture is shown.

From GUI

From GUI

GNOME Desktop

We can get information from GNOME System Monitor like below.

GNOME Desktop

GNOME Desktop

uname Command

uname command is used to get information about distribution and kernel but there will be no detailed information about distribution version. We can use uname with -a option.

LEARN MORE  Ansible Tutorial

 

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/get-ubuntu-debian-kali-release-version/
PINTEREST
PINTEREST
INSTAGRAM

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)