Page 1 of 1

How to Check if Your Linux System is 32-bit or 64-bit

Posted: Wed Sep 30, 2015 10:30 am
by RescuePC
How to Check if Your Linux System is 32-bit or 64-bit

A few commands to see what bit you are running

-bash-4.1# arch
x86_64

-bash-4.1# uname -a
Linux vmlinux.qad.com 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

-bash-4.1# 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

Cheers
Rescue PC