Skip to content


查看Linux系统版本

这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版

lsb_release -a

LSB Version: 1.3
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant)
Release: 4
Codename: Nahant


cat /etc/redhat-release

Red Hat Enterprise Linux AS release 4 (Nahant)


rpm -q redhat-release

redhat-release-4AS-2


cat /proc/version

Linux version 2.6.9-5.EL ([email protected]) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 Wed Jan 5 19:22:18 EST 2005


cat /etc/issue

Red Hat Enterprise Linux AS release 4 (Nahant)
Kernel \r on an \m

Posted in Linux 命令, 技术.

Tagged with , .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.