常用linux查看版本信息的方法:

1.cat /proc/version

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

Linux version 2.6.32-642.el6.x86_64 (mockbuild@x86-033.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Wed Apr 13 00:51:26 EDT 2016

2.uname -a

[root@cdc ~]# uname -a
Linux cdc 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

3.cat /etc/issue

[root@cdc ~]# cat /etc/issue

Red Hat Enterprise Linux Server release 6.8 (Santiago)
Kernel \r on an \m

4.lsb_release -a

[root@cdc ~]# lsb_release -a

LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 6.8 (Santiago)
Release:    6.8
Codename:    Santiago