判断linux系统位数

1, uname -a 根据返回版本号判断

 

2, getconf LONG_BIT 32就是32位,64就是64位

posted @ 2018-12-03 14:43  yhye  阅读(141)  评论(0)    收藏  举报