CentOS版本cat /etc/os-release
NAME=“CentOS Linux "
版本=“7 (核心)”
ID=“centos”
ID_LIKE=“rhel fedora”
VERSION_ID=“7"
pretty_name=「centosLinux7(core ) "
ANSI_COLOR=“0; 31”
CPE _ name=“CPE :/o : centos : centos :7”
HOME_URL=“ https://www.centos.org/”
错误_ report _ URL=“https://bugs.centos.org /”
centos _ mantisbt _ project=“centos-7”
centos _ mantisbt _ project _ version="7"
REDHAT_SUPPORT_PRODUCT=“centos”
red hat _ support _ product _ version=“7”
[root@bogon ~]# cat /etc/redhat-release