Wednesday, December 9, 2015

How to find out Linux System is 32-bit or 64-bit

$ arch
x86_64
$ getconf LONG_BIT
64
$ file /sbin/init
/sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

No comments:

Post a Comment