centos查看版本命令:

cat /etc/redhat-release

查看当前内核全部信息:

uname -a

查看当前内核:

uname -r