Understand the Linux Version

Understand the Linux Version

1. to see the base core version command
>cat /proc/version
Linux version 2.6.9-89.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Mon Apr 20 10:34:33 EDT 2009

>uname -a
Linux xxxxx 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux

>uname -r
2.6.9-89.ELsmp

2. to see the linux full version
>lsb_release -a
LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description:    Red Hat Enterprise Linux AS release 4 (Nahant Update
Release:         4
Codename:     NahantUpdate8

>cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update

>rpm -q redhat-release
redhat-release-4AS-9

references:
http://blog.csdn.net/russle/article/details/6199232

你可能感兴趣的:(linux,version)