how to find unix is 64bit or 32bit

u can try in below three methods.

>$ file /sbin/init

/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.16, dynamically linked (uses shared libs), stripped

>$ file /usr/bin/file
/usr/bin/file: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped

>$ uname -m
x86_64

Comments

Popular posts from this blog

Rails Memcache issues

Rails working with multiple databases customize the generator | Rails, multiple databases, customize generator

Ruby on Rails 3.x Skip callback and validation and reset Callback | Ruby on Rails, Skip callback, validation, reset Callback