查看CentOS版本信息

 

[root@centos01 centos01]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core) 
[root@centos01 centos01]# 
[root@centos01 centos01]# cat /proc/version
Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018
[root@centos01 centos01]# 
[root@centos01 centos01]# uname
Linux
[root@centos01 centos01]#
[root@centos01 centos01]# uname -a
Linux centos01 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@centos01 centos01]# 
[root@centos01 centos01]# uname -r
3.10.0-862.el7.x86_64
[root@centos01 centos01]# 

 

[root@centos01 centos01]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root@centos01 centos01]# 

 

posted @ 2018-08-14 22:44  茗::流  阅读(232)  评论(0)    收藏  举报
如有雷同,纯属参考。如有侵犯你的版权,请联系我。