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