Don't you just love how there's no "version" command in linux?
Easy install from command line as root
wget
http://programs.rcrnet.net/version/version-0.1-all.debdpkg -i version-0.1-all.deb
After all these years, linux still lacks a "version" command.
This command makes it simple.
To find your ubuntu version:
version "distro"
Example:
version ubuntu
version debian
To find a package version:
version "packagename"
Example:
version postfix
To find kernel version and if you are running 32 or 64 bit
version kernel