CentOS7查询系统版本内核信息

1. 查看版本号

查看CentOS的版本号命令:

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)

显示查询结果:(centos7.4.1708版本)

2. 查看内核版本

  查询Centos系统内核版本信息:

[root@localhost ~]# uname -r
3.10.0-693.el7.x86_64

原文地址:https://www.cnblogs.com/Sungeek/p/9442192.html