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
Sungeek博客
一名运维小菜鸟
查看CentOS的版本号命令:
[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
显示查询结果:(centos7.4.1708版本)
查询Centos系统内核版本信息:
[root@localhost ~]# uname -r 3.10.0-693.el7.x86_64
Sungeek博客
一名运维小菜鸟