uname -mThe possible outcomes and their meanings are:
* i686 : Installed 32-bit version.
* x86_64 : Installed 64-bit version.
[root@rhel55 basil]# file `which file`
/usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
note the ` in the above command is not single quotes , instead it is a backquote . the symbol on tilde key (~).