Check Ubuntu version from command line
Here is a simple command to get your Ubuntu version from terminal / commandline.
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric
$ lsb_release -r Release: 11.10
$ cat /etc/issue Ubuntu 11.10 n l
$ cat /etc/issue.net Ubuntu 11.10
Try any of them. Cheers!
Last Updated On : 8th November 2011