CentOS 7 查看内核版本、发行版本

[[email protected] ~]# uname
Linux
[[email protected] ~]# uname -a
Linux centos 3.10.0-862.9.1.el7.x86_64 #1 SMP Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]# cat /proc/version
Linux version 3.10.0-862.9.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Mon Jul 16 16:29:36 UTC 2018
[[email protected] ~]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[[email protected] ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[[email protected] ~]# cat /etc/system-release
CentOS Linux release 7.5.1804 (Core)
[[email protected] ~]# cat /etc/issue
\S
Kernel \r on an \m

0 Comments

发表评论

电子邮件地址不会被公开。 必填项已用*标注