Linux Centos 版本查看

2020-12-09

[root@share ~]# uname
Linux

[root@share ~]# uname -r
3.10.0-693.2.2.el7.x86_64

[root@share ~]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID:    CentOS
Description:    CentOS Linux release 7.4.1708 (Core) 
Release:    7.4.1708
Codename:    Core

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

[root@share ~]# rpm -q centos-release
centos-release-7-4.1708.el7.centos.x86_64

#centos 与 redhat 对应版本信息查看

ConstXiong 备案号:苏ICP备16009629号-3