Re: [技巧]在Linux下查看系统位数

  • From: "Thomas X. Iverson" <txi@xxxxxxxxxxxxx>
  • To: ghostunix@xxxxxxxxxxxxx
  • Date: Fri, 9 May 2008 14:04:47 +0800

2008/5/9 WANG Cong <xiyou.wangcong@xxxxxxxxx>:
>>
>>
>>正因为我实验了,才有这个困惑。
>>还有什么其他办法可以看机器是32位还是64位啊?
>>
>
> $ uname -m
> $ cat /proc/cpuinfo
>
> --
> Hi, I'm a .signature virus, please copy/paste me to help me spread
> all over the world.
>
>

这个我知道
但是如果我想截取确切的机器位数呢?直接显示32或者64,而不是人为判断

-- 
Keep It Simple Stupid

http://blog.ghostunix.org

ghosTM55

Other related posts: