CentOS 查看版本信息

cat /etc/issue

$ cat /etc/issue
CentOS release 6.10 (Final)
Kernel \r on an \m

cat /etc/redhat-release

$ cat /etc/redhat-release
CentOS release 6.10 (Final)

cat /proc/version

$ cat /proc/version
Linux version 3.10.0-514.10.2.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Fri Mar 3 00:04:05 UTC 2017

uname -a

$ uname -a
Linux 47422125e290 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

uname -r

$ uname -r
3.10.0-514.10.2.el7.x86_64

你可能感兴趣的:(CentOS 查看版本信息)