關於linux中的lsb_release命令,linuxlsb_release
關於linux中的lsb_release命令
[root@lei1 ~]# lsb_release -aLSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchDistributor ID: RedHatEnterpriseServerDescription: Red Hat Enterprise Linux Server release 6.3 (Santiago)Release: 6.3Codename: Santiago[root@lei1 ~]# lsb_release -idDistributor ID: RedHatEnterpriseServerDescription: Red Hat Enterprise Linux Server release 6.3 (Santiago)[root@lei1 ~]# uname -r2.6.32-279.el6.x86_64[root@lei1 ~]# uname -aLinux 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)