第一种: 
[root@css /]# cat /etc/redhat-release 
Red Hat Enterprise Linux AS release 4 (Nahant Update 2) 
第二种: 
[root@css /]# cat /etc/issue 
Red Hat Enterprise Linux AS release 4 (Nahant Update 2) 
Kernel \r on an \m 

查看核心版本: 
[root@css /]# cat /proc/version 
Linux version 2.6.9-22.ELsmp (bhcompile@porky.build.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:32:14 EDT 2005

posted on 2012-03-21 10:38  一个人的天空@  阅读(1372)  评论(0编辑  收藏  举报