关于linux中的lsb_release命令
[root@lei1 ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.3 (Santiago)
Release: 6.3
Codename: Santiago
[root@lei1 ~]# lsb_release -id
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.3 (Santiago)
[root@lei1 ~]# uname -r
2.6.32-279.el6.x86_64
[root@lei1 ~]# uname -a
Linux lei1 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
知识点1:
lsb_release的作用是:
lsb_release v2.0 prints certain LSB (Linux Standard Base) and Distribution information.
知识点2:
与lsb_release有关的mos文章:
OUI Prerequisites Operating System Check Failed On Certified Linux Platform (Doc ID 1327747.1)
Checking Operating System Version: Failed /usr/bin/lsb_release Exec format error (Doc ID 779301.1)