By James Cooley - July 25 2007 tags: linux

"uname -a" doesn't tell you so you could try this:

# most distros have a release file in /etc
$ ls /etc/*release*
/etc/lsb-release
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.04
DISTRIB_CODENAME=feisty
DISTRIB_DESCRIPTION="Ubuntu 7.04"
$