#cat/proc/version
这个是看gcc的版本信息。
[root@DELL root]# cat /proc/version
Linux version 2.4.21-32.EL (bhcompile@crowe.devel.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-52)) #1 SMP Fri
Apr 15 21:02:58 EDT 2005
查看内核
#uname -a
[root@DELL root]# uname -a
Linux DELL 2.4.21-32.EL #1 SMP Fri Apr 15 21:02:58 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
查看版本release信息,就是我们通常所说的REDHAT 3.0或者4.0
#cat /etc/issue
[root@DELL etc]# cat issue
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
Kernel r on an m
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22934571/viewspace-1042571/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22934571/viewspace-1042571/