一、查看Linux內核版本命令(兩種方法):
1、cat /proc/version

2、uname -a

二、查看Linux系統版本的命令(3種方法):
1、lsb_release -a,即可列出所有版本信息:

這個命令適用於所有的Linux發行版,包括RedHat、SUSE、Debian…等發行版。
2、cat /etc/redhat-release,這種方法只適合Redhat系的Linux:
[root@S-CentOS home]# cat /etc/redhat-release
CentOS release 6.5 (Final)
3、cat /etc/issue,此命令也適用於所有的Linux發行版。
