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