{"id":3973,"date":"2019-07-18T19:03:34","date_gmt":"2019-07-18T11:03:34","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3973"},"modified":"2019-07-21T00:06:43","modified_gmt":"2019-07-20T16:06:43","slug":"lsb-release","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lsb-release","title":{"rendered":"lsb_release\u547d\u4ee4 – \u67e5\u770bLSB\u4fe1\u606f"},"content":{"rendered":"\n

LSB\u662fLinux Standard Base\u7684\u7f29\u5199\uff0clsb_release\u547d\u4ee4\u7528\u6765\u663e\u793aLSB\u548c\u7279\u5b9a\u7248\u672c\u7684\u76f8\u5173\u4fe1\u606f\u3002\u5982\u679c\u4f7f\u7528\u8be5\u547d\u4ee4\u65f6\u4e0d\u5e26\u53c2\u6570\uff0c\u5219\u9ed8\u8ba4\u52a0\u4e0a-v\u53c2\u6570\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> lsb_release [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-i<\/td>\u663e\u793a\u7cfb\u7edf\u540d\u79f0\u7b80\u5199<\/td><\/tr>
-d<\/td>\u663e\u793a\u7cfb\u7edf\u5168\u79f0\u548c\u7248\u672c\u53f7<\/td><\/tr>
-r<\/td>\u663e\u793a\u7248\u672c\u53f7<\/td><\/tr>
-a<\/td>\u663e\u793aLSB\u6240\u6709\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u4f7f\u7528-i\u53c2\u6570\u663e\u793a\u7cfb\u7edf\u7b80\u79f0\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lsb_release -i<\/pre>\n\n\n\n

\u4f7f\u7528-d\u53c2\u6570\u663e\u793a\u7cfb\u7edf\u5168\u79f0\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lsb_release -d<\/pre>\n\n\n\n

\u4f7f\u7528-a\u53c2\u6570\u663e\u793aLSB\u6240\u6709\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# lsb_release -a<\/pre>\n","protected":false},"excerpt":{"rendered":"

LSB\u662fLinux Standard Base\u7684\u7f29\u5199\uff0clsb_release\u547d\u4ee4\u7528\u6765\u663e\u793aLSB\u548c\u7279\u5b9a\u7248\u672c\u7684\u76f8\u5173 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3973"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3973"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3973\/revisions"}],"predecessor-version":[{"id":4060,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3973\/revisions\/4060"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}