How To check which version of Ubuntu you are running on your machine

There are couple of ways to check which version of Ubuntu you are running on your machine

To check the Ubuntu version :

intzar@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION=”Ubuntu 15.10
intzar@ubuntu:~$

 Or
 intzar@ubuntu:~$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10

Codename:       wily
intzar@ubuntu:~$

Or

intzar@ubuntu:~$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION=“Ubuntu 15.10”
intzar@ubuntu:~$

Or

intzar@ubuntu:~$ cat /etc/os-release
NAME=”Ubuntu”
VERSION=”15.10 (Wily Werewolf)
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 15.10
VERSION_ID=”15.10
HOME_URL=”http://www.ubuntu.com/”
SUPPORT_URL=”http://help.ubuntu.com/”
BUG_REPORT_URL=”http://bugs.launchpad.net/ubuntu/”
intzar@ubuntu:~$

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s