2

Possible Duplicate:
How can I find the version of Ubuntu that is installed?

There should be some easy command to find from console what version of ubuntu I'm using.

bessarabov
  • 1,982
  • 6
  • 23
  • 31

2 Answers2

3

Here it is: cat /etc/lsb-release. On my system, it gives this output:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

Somewhat related, uname -a also gives useful information about the install, like the kernel version.

Prateek
  • 2,531
  • 2
  • 24
  • 32
2
karthick@Ubuntu1104:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu natty (development branch)
Release:    11.04
Codename:   natty
karthick87
  • 80,647
  • 59
  • 193
  • 232