标签:系统信息
一、查询系统的版本信息
①[root@localhost ~]# cat /etc/issue
CentOS release 6.6 (Final)
Kernel \r on an \m
②[root@localhost ~]# rpm -qa | grep centos-release
centos-release-6-6.el6.centos.12.2.x86_64
③[root@localhost ~]# cat /etc/centos-release
CentOS release 6.6 (Final)
二、查询系统的内核信息
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux
三、查询centos与redhat的版本对应信息
[root@localhost ~]# cat /proc/version
Linux version 2.6.32-504.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Oct 15 04:27:16 UTC 2014
本文出自 “7059546” 博客,请务必保留此出处http://7069546.blog.51cto.com/7059546/1750877
标签:系统信息
原文地址:http://7069546.blog.51cto.com/7059546/1750877