当前位置:首页 > 服务器类 > Linux服务器 > > 查看各种Linux系统版本信息的Shell命令

查看各种Linux系统版本信息的Shell命令

点击次数:27 次 发布日期:2008-11-21 23:18:39 作者:源代码网
源代码网推荐 几种查看Linux版本信息的方法:
 
  1. uname -a
 
  2. cat /proc/version
 
  3. cat /etc/issue
 
  4. lsb_release -a
 
  详解 lsb_release -a
 
  登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如:
 
  1. [root@3.5.5Biz-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. [root@3.5.5Biz-46 ~]#
 
  这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。
源代码网供稿.
网友评论 (0)
会员中心
服务器类
本站推荐
服务器类之精华