1.cat /etc/redhat-release
[root@localhost app]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
2.uname -a
[root@localhost app]# uname -a
Linux localhost.localdomain 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
3.cat /proc/version
[root@localhost app]# 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
网友评论