查看Linux是32位还是64位

来源:互联网 发布:知乐小说猎情 编辑:程序博客网 时间:2024/05/16 09:57

1、file /bin/ls

bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=a0823e17cafbe5b2296346216445566840fdfd88, stripped

表示64位

2、uname -a

Linux 1c61e54fc8a9 4.1.19-boot2docker #1 SMP Mon Mar 7 17:44:33 UTC 2016 x86_64 GNU/Linux

表示64位

0 0
原创粉丝点击