三种方法获得系统多少位:

以下三个例子都得到的是64位的系统

1. getconf LONG_BIT

[Linux] 获得系统位数

2. echo $HOSTTYPE

[Linux] 获得系统位数

3. uname –a

[Linux] 获得系统位数

相关文章: