香港云服務(wù)器查看centos內(nèi)核的版本:cat /proc/version
列出所有版本信息,lsb_release -a
注:這個命令適用于所有的linux,包括Redhat、SuSE、Debian等發(fā)行版。
執(zhí)行cat /etc/issue,例如如下:
執(zhí)行cat /etc/redhat-release ,例如如下:
查看系統(tǒng)是64位還是32位:
1、getconf LONG_BIT or getconf WORD_BIT
2、file /bin/ls
3、lsb_release -a