on Debian based disributions you can simply run lsb_release -a
. It will give you an output like so.
jared@Sarah:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.3 (lenny)
From that I know this machine is Debian 5.0.3 which is known as Debian Lenny. If you need to know more information you can use uname -a
to find out what kernel version is running. This should tell you if you are 32-bit or 64-bit or if you are running a kernel design for a specfic CPU or a custom built kernel . I personally have an AMD 64-bit processor so I ahve a 64-bit version of Linux. if I run uname -a
I get the following output
jared@Sarah:~$ uname -a
Linux Sarah 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64 GNU/Linux
Hope that helps