什么是Linux命令来查明一个Linux第三方应用程序是32位还是64位
你可以使用file:
user@host:~$ file /bin/ls /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
在我的情况下,一个64位的LSB可执行文件..
file(1)
$ file =ls /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped