Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19733847
  • 博文数量: 679
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 9308
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-18 10:51
文章分类

全部博文(679)

文章存档

2012年(5)

2011年(38)

2010年(86)

2009年(145)

2008年(170)

2007年(165)

2006年(89)

分类: LINUX

2008-02-20 14:29:32

[LINUX]查看系统版本信息的命令

几种查看linux版本信息的方法:
1. uname -a
2. cat /proc/version
3. cat /etc/issue
4. lsb_release -a

详解 lsb_release -a

登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如:
1. [-46 ~]# lsb_release -a   
2. LSB Version: 1.3   
3. Distributor ID: RedHatEnterpriseAS   
4. Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 1)   
5. Release: 4   
6. Codename: NahantUpdate1   
7. [-46 ~]#
这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。


阅读(7070) | 评论(1) | 转发(1) |
给主人留下些什么吧!~~

chinaunix网友2008-02-20 14:30:01

原文地址:http://www.e5b.net/html/78/t-21578.html