Ubuntu version

Asked by Kallol Roy on 2012-11-16

How to get the Ubuntu version installed via command line?
Will the command lsb_release help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Kallol Roy
Solved:
2012-11-23
Last query:
2012-11-23
Last reply:
2012-11-21

lsb_release -a

or

cat /etc/issue

N1ck 7h0m4d4k15 (nicktux) said : #2

~$ lsb_release -rcd ; uname -r

you can see Description , Release , Codename , Kernel version .

~$ cat /etc/issue.net

You can see the Description only.

Warren Hill (warren-hill) said : #3

The commands I usually use to find out what is installed are

lsb_release -a; uname -a

this gives the version of Ubuntu and Linux kernel installed.

tanveer (tanveeraddozai) said : #5

~$ cat /etc/lsb-release

Kallol Roy (kallol08) said : #6

Thanks all. The answers had helped a lot.