CentOS 系统查看版本

查看版本

方法1:

[root@jia-001 ~]$ uname -a
Linux jia-001 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[root@donica ~]# uname -a
Linux donica.cn 2.6.18-308.el5PAE #1 SMP Tue Feb 21 20:46:05 EST 2012 i686 i686 i386 GNU/Linux

方法2:

[root@donica ~]# lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 5.11 (Final)
Release:    5.11
Codename:   Final

方法3:

[root@donica ~]# cat /etc/redhat-release
CentOS release 5.11 (Final)

方法4:

$ cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)

方法5:

[root@donica ~]# cat /etc/issue
CentOS release 5.11 (Final)
Kernel \r on an \m

你可能感兴趣的:(CentOS 系统查看版本)