To check your Ubuntu version using the command line:
Open a Terminal (Applications > Accessories > Terminal) and type command cat /etc/issue
The Ubuntu version will be displayed on the screen.
source:http://linuxpoison.blogspot.com/2010/10/135781677517908.html