linux怎么查看操作系统版本

如题所述

查看linux版本:
1) 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如:
[root@SOR_SYS ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Release: 4
Codename: NahantUpdate4
[root@SOR_SYS ~]#
注:这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。
免费提供最新Linux技术教程书籍,入门自学书籍《linux就该这么学》,为开源技术爱好者努力做得更多更好
温馨提示:答案为网友推荐,仅供参考
第1个回答  2017-12-06

    对于linux系统而已,有成百上千个发行版。对于发行版的版本号查看方法
    如以centos为例。

    输入lsb_release -a即可

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

第2个回答  2020-10-14

介绍怎么查看linux系统版本

第3个回答  2020-12-13
相似回答