Thursday, July 14, 2016

How to check if Ubuntu is 64 bit or 32 bit

The below command can be used.

hadoop@ubuntu:~$ file /sbin/init
/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x96b0ea3f2c8a1377a872c6cdd2a0d56070b9387b, stripped
hadoop@ubuntu:~$

No comments:

Post a Comment