{"id":263133,"date":"2023-01-30T14:02:16","date_gmt":"2023-01-30T06:02:16","guid":{"rendered":"https:\/\/lrxjmw.cn\/lzzkbbxxmljs.html"},"modified":"2023-01-30T14:02:16","modified_gmt":"2023-01-30T06:02:16","slug":"lzzkbbxxmljs","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lzzkbbxxmljs.html","title":{"rendered":"Linux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecd\u5185\u6838\u7248\u672c\u67e5\u770b\u547d\u4ee4\u7684\u5185\u5bb9"},"content":{"rendered":"

\u8fd9\u7bc7\u6587\u7ae0\u7ed9\u5927\u5bb6\u5206\u4eab\u7684\u662f\u6709\u5173Linux<\/a>\u4e0b\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f\u7684\u5185\u5bb9\u3002\u5c0f\u7f16\u89c9\u5f97\u633a\u5b9e\u7528\u7684\uff0c\u56e0\u6b64\u5206\u4eab\u7ed9\u5927\u5bb6\u505a\u4e2a\u53c2\u8003\u624b\u673alinux\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4e00\u8d77\u8ddf\u968f\u5c0f\u7f16\u8fc7\u6765\u770b\u770b\u5427\u3002<\/p>\n

lsb_release<\/p>\n

\u663e\u793aLSB(Linux Standard Base)\u517c\u5bb9\u7684\u53d1\u884c\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u662fLSB\u517c\u5bb9\u7684\u53d1\u884c\u7248\u672c\uff0c\u5728\/etc\/lsb-release\u5c31\u53ef\u4ee5\u67e5\u770b\u5230\u5177\u4f53\u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n

Linux\u4e0b\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f<\/p>\n

Linux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4<\/a>\u4ecb\u7ecdLinux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecd<\/p>\n

lsb_release\u53ef\u4ee5\u5feb\u901f\u8fc7\u6ee4\u8fd9\u4e9b\u4fe1\u606f\u627e\u5230\u81ea\u5df1\u9700\u8981\u7684\u5b57\u6bb5linux\u4e0b\u67e5\u770b\u7248\u672c<\/strong>\uff0c\u8fd9\u4e2a\u547d\u4ee4\u6709\u53ef\u80fd\u6ca1\u6709\u81ea\u5e26\uff0c\u53ef\u4ee5\u81ea\u884c\u5b89\u88c5lsb-release\u5305\u5c31\u53ef\u4ee5\u6709\u4e86\u3002<\/p>\n

\n

lsb_release\u00a0-h\nFSG\u00a0lsb_release\u00a0v1.4\u00a0prints\u00a0certain\u00a0LSB\u00a0(Linux\u00a0Standard\u00a0Base)\u00a0and\n

<\/p>\nDistribution\u00a0information.\nUsage:\u00a0lsb_release\u00a0[OPTION]...\nWith\u00a0no\u00a0OPTION\u00a0specified\u00a0it\u00a0is\u00a0the\u00a0same\u00a0as\u00a0-v.\nOptions:\n\u00a0-v,\u00a0--version\n\u00a0\u00a0\u00a0Display\u00a0the\u00a0version\u00a0of\u00a0the\u00a0LSB\u00a0specification\u00a0against\u00a0which\u00a0the\u00a0distribution\u00a0is\u00a0compliant.\n

linux\u4e0b\u67e5\u770bjboss\u7248\u672c_linux\u4e0b\u67e5\u770bnginx\u7248\u672c_linux\u4e0b\u67e5\u770b\u7248\u672c<\/p>\n\u00a0-i,\u00a0--id\n\u00a0\u00a0\u00a0Display\u00a0the\u00a0string\u00a0id\u00a0of\u00a0the\u00a0distributor.\n\u00a0-d,\u00a0--description\n\u00a0\u00a0\u00a0Display\u00a0the\u00a0single\u00a0line\u00a0text\u00a0description\u00a0of\u00a0the\u00a0distribution.\n\u00a0-r,\u00a0--release\n\u00a0\u00a0\u00a0Display\u00a0the\u00a0release\u00a0number\u00a0of\u00a0the\u00a0distribution.\n\u00a0-c,\u00a0--codename\n\u00a0\u00a0\u00a0Display\u00a0the\u00a0codename\u00a0according\u00a0to\u00a0the\u00a0distribution\u00a0release.\n

<\/p>\n\u00a0-a,\u00a0--all\n\u00a0\u00a0\u00a0Display\u00a0all\u00a0of\u00a0the\u00a0above\u00a0information.\n\u00a0-s,\u00a0--short\n\u00a0\u00a0\u00a0Display\u00a0all\u00a0of\u00a0the\u00a0above\u00a0information\u00a0in\u00a0short\u00a0output\u00a0format.\n\u00a0-h,\u00a0--help\u00a0\u00a0\u00a0Display\u00a0this\u00a0message.\nlsb_release\u00a0-a\nLSB\u00a0Version:\u00a0\u00a0\u00a0\u00a0n\/a\nDistributor\u00a0ID:\u00a0ManjaroLinux\n

<\/p>\nDescription:\u00a0\u00a0\u00a0\u00a0Manjaro\u00a0Linux\nRelease:\u00a0\u00a0\u00a0\u00a021.0.2\nCodename:\u00a0\u00a0\u00a0Ornara<\/pre>\n<\/p>\n

Version\u6587\u4ef6<\/p>\n

lsb_release\u8fd9\u4e2a\u547d\u4ee4\u9700\u8981\u6709\u53e6\u5916\u5b89\u88c5\uff0c\u5982\u679c\u6ca1\u6709\u5b89\u88c5\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5176\u4ed6\u7684\u7248\u672c\u4fe1\u606f\u6587\u4ef6\u627e\u5230\u7248\u672c\u7684\u4fe1\u606f\u3002<\/p>\n

RHEL\u7cfb\u5217\uff1a\/etc\/redhat-release\u3001\/etc\/os-release\u3001\/etc\/system-release \u7b49\uff0c\u8fd9\u4e9b\u6587\u4ef6\u4e00\u822c\u90fd\u662f\u6307\u5411\u540c\u4e00\u4e2a\u6587\u4ef6\uff0c\u5982\u679c\u662f\u91cd\u65b0\u53d1\u884c\u7684\u7248\u672c\uff0c\u4f8b\u5982centos\uff0c\u8fd8\u4f1a\u6709\/etc\/centos-release<\/p>\n

Debian\u7cfb\u5217\uff1a\/etc\/debian-version\u3001\/etc\/issue\u7b49\uff0c\u540c\u6837\u91cd\u65b0\u53d1\u884c\u7684\u7248\u672c\u4e5f\u4f1a\u6709\u5bf9\u5e94\u7684version\u6587\u4ef6\u3002<\/p>\n

Linux\u4e0b\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f<\/p>\n

Linux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecdLinux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecd\u5185\u6838\u7248\u672c<\/p>\n

\u67e5\u770b\u5185\u6838\u7248\u672c\u4e00\u822c\u90fd\u4f7f\u7528uname\u8fd9\u4e2a\u547d\u4ee4\u3002<\/p>\n

\n

uname\u00a0-a\nLinux\u00a0manjaro\u00a05.11.14-1-MANJARO\u00a0#1\u00a0SMP\u00a0PREEMPT\u00a0Wed\u00a0Apr\u00a014\u00a008:25:29\u00a0UTC\u00a02021\u00a0x86_64\u00a0GNU\/Linux<\/pre>\n<\/p>\n

\u7528\u8fd9\u4e2a\u547d\u4ee4\u4e5f\u53ef\u4ee5\u5feb\u901f\u8fc7\u6ee4\u5230\u81ea\u5df1\u9700\u8981\u7684\u5b57\u6bb5\u3002<\/p>\n

\u4e5f\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\/proc\/version\u6765\u67e5\u770b\u5f53\u524d\u4e91\u4e2d\u7684\u5185\u6838\u7248\u672c<\/p>\n

\n

cat\u00a0\/proc\/version\nLinux\u00a0version\u00a05.11.14-1-MANJARO\u00a0(builduser@LEGION)\u00a0(gcc\u00a0(GCC)\u00a010.2.0,\u00a0GNU\u00a0ld\u00a0(GNU\u00a0Binutils<\/pre>\n<\/p>\n

\u611f\u8c22\u5404\u4f4d\u7684\u9605\u8bfb\uff01\u5173\u4e8e\u201cLinux\u4e0b\u600e\u4e48\u67e5\u770b\u7248\u672c\u4fe1\u606f\u201d\u8fd9\u7bc7\u6587\u7ae0\u5c31\u5206\u4eab\u5230\u8fd9\u91cc\u4e86\uff0c\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u53ef\u4ee5\u5bf9\u5927\u5bb6\u6709\u4e00\u5b9a\u7684\u5e2e\u52a9linux\u64cd\u4f5c\u7cfb\u7edf\u600e\u4e48\u6837\uff0c\u8ba9\u5927\u5bb6\u53ef\u4ee5\u5b66\u5230\u66f4\u591a\u77e5\u8bc6\uff0c\u5982\u679c\u89c9\u5f97\u6587\u7ae0\u4e0d\u9519linux\u4e0b\u67e5\u770b\u7248\u672c<\/strong>\uff0c\u53ef\u4ee5\u628a\u5b83\u5206\u4eab\u51fa\u53bb\u8ba9\u66f4\u591a\u7684\u4eba\u770b\u5230\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

Linux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecdLinux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecdlsb_release\u8fd9\u4e2a\u547d\u4ee4\u9700\u8981\u6709\u53e6\u5916\u5b89\u88c5\uff0c\u5982\u679c\u6ca1\u6709\u5b89\u88c5\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5176\u4ed6\u7684\u7248\u672c\u4fe1\u606f\u6587\u4ef6\u627e\u5230\u7248\u672c\u7684\u4fe1\u606f\u3002Linux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecdLinux\u4e2d\u67e5\u770b\u7248\u672c\u4fe1\u606f\u547d\u4ee4\u4ecb\u7ecd\u5185\u6838\u7248\u672c\u67e5\u770b\u5185\u6838\u7248\u672c\u4e00\u822c\u90fd\u4f7f\u7528uname\u8fd9\u4e2a\u547d\u4ee4\u3002\u4e5f\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\/proc\/version\u6765\u67e5\u770b\u5f53\u524d\u4e91\u4e2d\u7684\u5185\u6838\u7248\u672c<\/p>\n","protected":false},"author":1,"featured_media":263134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-263133","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/263133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=263133"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/263133\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/263134"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=263133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=263133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=263133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}