linux - 版本信息查看

[root@tymm2-1 sbin]# cat /proc/version
Linux version 3.10.0-1127.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Tue Mar 31 23:36:51 UTC 2020
[root@tymm2-1 sbin]# uname -r
3.10.0-1127.el7.x86_64
[root@tymm2-1 sbin]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[root@tymm2-1 sbin]# uname -s
Linux
[root@tymm2-1 sbin]# 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"

posted on 2021-09-07 13:26  TrustNature  阅读(304)  评论(0)    收藏  举报