[[email protected] nginx]# uname -a Linux root 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] GraphicsMagick-1.3.24]# cat /proc/version Linux version 2.6.32-431.el6.i686 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 00:26:36 UTC 2013
1.uname -a
查看OS详细信息
2. file /bin/ls
显示系统程序信息,就能看出多少位 3.cat /proc/version 查看OS版本
I386--I686 都是32位
x86_64 是 64位
时间: 2025-01-17 15:16:29