Find Your Ubuntu Version From Command Line

Just a quick note. To find the version of Ubuntu you are using type the following in console.

cat /etc/lsb-release

Which will output something like

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"