Understand the Linux Version
UnderstandtheLinuxVersion
1.toseethebasecoreversioncommand
>cat/proc/version
Linuxversion2.6.9-89.ELsmp([email protected])(gccversion3.4.620060404(RedHat3.4.6-11))#1SMPMonApr2010:34:33EDT2009
>uname-a
Linuxxxxxx2.6.9-89.ELsmp#1SMPMonApr2010:34:33EDT2009i686i686i386GNU/Linux
>uname-r
2.6.9-89.ELsmp
2.toseethelinuxfullversion
>lsb_release-a
LSBVersion::core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
DistributorID:RedHatEnterpriseAS
Description:RedHatEnterpriseLinuxASrelease4(NahantUpdate
Release:4
Codename:NahantUpdate8
>cat/etc/redhat-release
RedHatEnterpriseLinuxASrelease4(NahantUpdate
>rpm-qredhat-release
redhat-release-4AS-9
references:
http://blog.csdn.net/russle/article/details/6199232