How to Determine if a Linux machine has a 32 bit or 64 bit kernel

Published: 23 Jun 2008

Based on the output from the following command you can easily determine if a Linux machine has 32 bit or 64 bit kernel:

uname -a

If you see something like x86_64, then your running with a 64 bit kernel. If you use see i386/i486/i586/i686 it's a 32 bit kernel.