1.centos查看系统版本
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
2.[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.el5
#1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
1.centos查看系统版本
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
2.[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.el5
#1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux