Get cpu arch grep flags /proc/cpuinfo lm flag means Long mode cpu - 64 bit CPU Real mode 16 bit CPU Protected Mode is 32-bit CPU