文章目录
查看Linux内核版本:
cat /proc/version
[root@nginx web]# cat /proc/version
Linux version 3.10.0-693.11.6.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Thu Jan 4 01:06:37 UTC 2018
查看Redhat系列的Linux发行版本信息:cat /etc/redhat-release
[root@nginx web]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
参考链接:
https://www.linuxidc.com/Linux/2016-05/131749.htm