Possible Duplicate:
How do I know if I am running 32 or 64-bit Linux?
Determine Linux Server's Architecture (32 or 64 bit)

I installed the following

  • RedHat-Linux-OS- on machine1
  • RedHat-Linux-OS- on machine2

What command or file can I use to check if the version of Linux installed is 32 bit or 64 bit.

Note that redhat-release does not define whether the version is 32/64.

marked as duplicate by Chopper3, pfo, MDMarra, EEAA, Steven Monday Jan 3 '12 at 17:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


To get the current running 'arch' (architecture), run:

uname -m

Capability of your CPUs you can run:



cat /proc/cpuinfo

The 'LM' flag should be present in 64bits systems as it represent 'LONG MODE' (64bit Extensions, AMD’s AMD64 or Intel’s EM64T).


Typing uname -m in a shell will do.

Not the answer you're looking for? Browse other questions tagged or ask your own question.