(1)使用file /bin/ls查询系统系统
[root@********]# file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
(2)使用getconf LONG_BIT或getconf WORD_BIT
[root@********]# getconf LONG_BIT
32
[root@********]# getconf WORD_BIT
32