`
sillycat
  • 浏览: 2542613 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

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 (mockbuild@hs20-bc1-2.build.redhat.com) (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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics