Home > Q&A > body text
因为VPS上要装一个软件,但是不知道当前这个操作系统是32位还是64位的,所以想问问如何判断系统是多少位?
怪我咯2017-04-17 11:58:33
$ uname -a
大家讲道理2017-04-17 11:58:33
arch command is enough
PHPz2017-04-17 11:58:33
uname -a
lsb_release -a
PHP中文网2017-04-17 11:58:33
file /bin/ls Or go to the root directory to see if there is a lib64 directory. There is a 64-bit system
file /bin/ls
lib64
cat /etc/redhat-release Or getconf LONG_BIT
cat /etc/redhat-release
getconf LONG_BIT
黄舟2017-04-17 11:58:33
x86_64 64-bit Others i386 and i686 are 32-bit