How to know the Linux version?

Hi,

How to know the Linux version in the box in which linux is installed ?
[ the cammand would do the needful ]

Cheers
K Md Shakeel

You can get the kernel version with

$ uname -r
2.6.11.4-20a-smp

The version of the distribution is usually in a file in the /etc directory. Look for a file like /etc/*release

---------- Post updated at 11:19 ---------- Previous update was at 10:50 ----------

If it's SuSE, you have a file /etc/SuSE-release looking like this:

SuSE Linux 9.3 (i586)
VERSION = 9.3

Ubuntu comes with a file /etc/lsb-release looking like:

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

thanks a lot.

/etc/issue also.