您的位置:首页 > 其它

查看位数getconf LONG_BIT

2013-02-05 09:48 127 查看
http://blog.csdn.net/siling4/article/details/6048035

getconf LONG_BIT 如果是32表示是32位

file /sbin/init

/sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

uname -a (可以替代arch,echo $HOSTTYPE等命令)

cat /etc/issue

Scientific Linux SL release 5.3 (Boron)

Kernel \r on an \m

cat /etc/redhat-release

>cat /etc/redhat-release

Scientific Linux SL release 5.3 (Boron)---linux的一个开源版本,基于redhat。

>cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.8 (Tikanga)

cat /etc/SuSE-release

cat /etc/release
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: