1、查看centos 的发行版本号

[zhou@localhost ~]$ cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
[zhou@localhost ~]$

 

2、查看linux内核版本号
[zhou@localhost ~]$ cat /proc/version
Linux version 4.18.0-147.3.1.el8_1.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.3.1 20190507 (Red Hat 8.3.1-4) (GCC)) #1 SMP Fri Jan 3 23:55:26 UTC 2020


[zhou@localhost ~]$ uname -a
Linux localhost.localdomain 4.18.0-147.3.1.el8_1.x86_64 #1 SMP Fri Jan 3 23:55:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[zhou@localhost ~]$

posted on 2020-02-01 09:27  爱编程的小兵  阅读(897)  评论(0编辑  收藏  举报