歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 查看Linux系統版本信息的命令

查看Linux系統版本信息的命令

日期:2017/2/25 10:39:28   编辑:Linux教程
  幾種查看Linux版本信息的方法:

  1. uname -a

  2. cat /proc/version

  3. cat /etc/issue

  4. lsb_release -a

  詳解 lsb_release -a

  登錄到服務器執行 lsb_release -a ,即可列出所有版本信息,例如:

  1. [[email protected] ~]# 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. [[email protected] ~]#

  這個命令適用於所有的linux,包括Redhat、SuSE、Debian等發行版。

Copyright © Linux教程網 All Rights Reserved