{"id":375,"date":"2019-04-07T00:49:01","date_gmt":"2019-04-06T16:49:01","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=375"},"modified":"2022-05-09T13:45:57","modified_gmt":"2022-05-09T05:45:57","slug":"uname","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/uname","title":{"rendered":"uname\u547d\u4ee4 – \u663e\u793a\u7cfb\u7edf\u5185\u6838\u4fe1\u606f"},"content":{"rendered":"\n

uname\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dUnix name\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u770b\u7cfb\u7edf\u4e3b\u673a\u540d\u3001\u5185\u6838\u53ca\u786c\u4ef6\u67b6\u6784\u7b49\u4fe1\u606f\u3002\u5982\u679c\u4e0d\u52a0\u4efb\u4f55\u53c2\u6570\uff0c\u9ed8\u8ba4\u4ec5\u663e\u793a\u7cfb\u7edf\u5185\u6838\u540d\u79f0\uff0c\u76f8\u5f53\u4e8e-s\u53c2\u6570\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-a<\/td>\u663e\u793a\u7cfb\u7edf\u6240\u6709\u76f8\u5173\u4fe1\u606f<\/td><\/tr>
-m<\/td>\u663e\u793a\u8ba1\u7b97\u673a\u786c\u4ef6\u67b6\u6784<\/td><\/tr>
-n<\/td>\u663e\u793a\u4e3b\u673a\u540d\u79f0<\/td><\/tr>
-r<\/td>\u663e\u793a\u5185\u6838\u53d1\u884c\u7248\u672c\u53f7<\/td><\/tr>
-s<\/td>\u663e\u793a\u5185\u6838\u540d\u79f0<\/td><\/tr>
-v<\/td>\u663e\u793a\u5185\u6838\u7248\u672c<\/td><\/tr>
-p<\/td>\u663e\u793a\u4e3b\u673a\u5904\u7406\u5668\u7c7b\u578b<\/td><\/tr>
-o<\/td>\u663e\u793a\u64cd\u4f5c\u7cfb\u7edf\u540d\u79f0<\/td><\/tr>
-i<\/td>\u663e\u793a\u786c\u4ef6\u5e73\u53f0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u663e\u793a\u7cfb\u7edf\u5185\u6838\u540d\u79f0\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# uname<\/strong>\r\nLinux\r<\/pre>\n\n\n\n

\u663e\u793a\u7cfb\u7edf\u6240\u6709\u76f8\u5173\u4fe1\u606f\uff08\u542b\u5185\u6838\u540d\u79f0\u3001\u4e3b\u673a\u540d\u3001\u7248\u672c\u53f7\u53ca\u786c\u4ef6\u67b6\u6784\uff09\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# uname -a<\/strong>\nLinux linuxcool.com 4.18.0-80.el8.x86_64 #1 SMP Wed Mar 13 12:02:46 UTC 2019 x86_64 x86_64 x86_64 GNU\/Linux<\/pre>\n\n\n\n

\u663e\u793a\u7cfb\u7edf\u5185\u6838\u7248\u672c\u53f7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# uname -r <\/strong>\n4.18.0-80.el8.x86_64<\/pre>\n\n\n\n

\u73b0\u5728\u7cfb\u7edf\u786c\u4ef6\u67b6\u6784\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# uname -i<\/strong>\nx86_64<\/pre>\n","protected":false},"excerpt":{"rendered":"

uname\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dUnix name\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u770b\u7cfb\u7edf\u4e3b\u673a\u540d\u3001\u5185\u6838\u53ca\u786c\u4ef6\u67b6\u6784\u7b49\u4fe1\u606f\u3002\u5982 […]<\/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\/375"}],"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=375"}],"version-history":[{"count":15,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":9360,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/375\/revisions\/9360"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}