getconf LONG_BIT will probably return the OS type installed, 64 bit or
32 bit OS.
But grep lm /proc/cpuinfo, will show the CPU type.
If grep lm /proc/cpuinfo returns output, it means you have a 64bit
CPU. This is independent of the OS installed.

It can be further highlighted by grep --color=auto lm /proc/cpuinfo
It will show you lm in red color (default).

-- 
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://www.itech7.com/a/vps

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to