How to find out Ubuntu version?
24 December 2008
There are a few options/commands you can use to find out which version of Ubuntu you are using. They give very similar information which you wanted to know but present in different format.
Command line:
cat /etc/lsb-release
Example:
manet@ubuntu:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION="Ubuntu 8.10"
Command line:
lsb_release -a
Example:
manet@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.10 Release: 8.10 Codename: intrepid
Command line:
cat /ect/issue
Example:
manet@ubuntu:~$ cat /etc/issue Ubuntu 8.10 n l
Command line:
cat /proc/version
Example:
manet@ubuntu:~$ cat /proc/version Linux version 2.6.27-9-server (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 22:53:41 UTC 2008
403 views

Amazon

