size of machine 64 or 32 bit

前端 未结 6 850
一整个雨季
一整个雨季 2021-02-15 17:32

If I am working on a Unix machine, how could I know the size of the machine whether it is 64-bit or 32-bit machine?

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-15 18:29

    You can type

    uname -m 
    

    if i686 or i386 is appearing, you are working with 32 bit if X86_64 is appearing, you are working with 64 bit

提交回复
热议问题