1. 程式人生 > >centos如何檢視linux核心,版本號等

centos如何檢視linux核心,版本號等

檢視全部資訊:

[zhangsan@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

檢視linux核心資訊:

[zhangsan@localhost ~]$ uname -r
3.10.0-693.el7.x86_64

檢視linux版本號:

[zhangsan@localhost ~]$ cat /etc/redhat-release 
CentOS Linux release 7.4
.1708 (Core)