方法一:

[root@localhost ~]# cat /proc/version   

Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015

 

 

方法二:

[root@localhost ~]# cat /etc/os-release 

posted on 2018-03-22 17:41  懒懒的呐喊  阅读(147)  评论(0编辑  收藏  举报