{"id":38012,"date":"2023-07-11T11:28:32","date_gmt":"2023-07-11T03:28:32","guid":{"rendered":"https:\/\/docs.pingcode.com\/?p=38012"},"modified":"2023-07-31T00:38:35","modified_gmt":"2023-07-30T16:38:35","slug":"linux%e4%b8%ad%e7%9a%84busybox%e6%98%af%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/38012.html","title":{"rendered":"Linux\u4e2d\u7684BusyBox\u662f\u4ec0\u4e48"},"content":{"rendered":"<blockquote class=\"wp-block-quote\">\n<p>BusyBox\u662f\u4e00\u6b3e\u5728Linux\u7cfb\u7edf\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u7684\u5f00\u6e90\u8f6f\u4ef6\u5de5\u5177\u96c6\uff0c\u7531\u4e00\u4e2a\u5355\u4e00\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7ec4\u6210\uff0c\u80fd\u591f\u63d0\u4f9b\u591a\u4e2a\u5e38\u89c1\u7684UNIX\u5de5\u5177\u7684\u529f\u80fd\uff0c\u5982ls\u3001cp\u3001mv\u7b49\u3002\u7531\u4e8e\u5176\u4f53\u79ef\u5c0f\u5de7\uff0c\u529f\u80fd\u5168\u9762\uff0cBusyBox\u901a\u5e38\u88ab\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u548c\u8d44\u6e90\u6709\u9650\u7684\u73af\u5883\u4e2d\u3002\u5c3d\u7ba1BusyBox\u5305\u542b\u4e86\u4e00\u767e\u591a\u4e2a\u5de5\u5177\u7684\u529f\u80fd\uff0c\u4f46\u5b83\u7684\u4f53\u79ef\u5374\u975e\u5e38\u5c0f\u3002\u8fd9\u4f7f\u5f97BusyBox\u975e\u5e38\u9002\u5408\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u548c\u8d44\u6e90\u6709\u9650\u7684\u73af\u5883\u4e2d\u4f7f\u7528\u3002<\/p>\n<\/blockquote>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" alt=\"\" class=\"wp-image-38013\" decoding=\"async\" height=\"421\" sizes=\"(max-width: 680px) 100vw, 680px\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/07\/\u6dfb\u52a0\u6807\u9898-15-2.png?x-oss-process=image\/auto-orient,1\/format,webp\" srcset=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/07\/\u6dfb\u52a0\u6807\u9898-15-2.png?x-oss-process=image\/auto-orient,1\/format,webp 680w, https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2023\/07\/\u6dfb\u52a0\u6807\u9898-15-2-300x186.png 300w\" width=\"680\"\/><\/figure>\n<\/div>\n<p>BusyBox\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684Linux\u5de5\u5177\u96c6\uff0c\u5b83\u96c6\u6210\u4e86\u4e00\u767e\u591a\u4e2a\u5e38\u89c1\u7684UNIX\u5de5\u5177\uff0c\u5982ls\u3001cp\u3001mv\u3001cd\u3001install\u3001ifconfig\u7b49\u3002\u8fd9\u4e9b\u5de5\u5177\u90fd\u88ab\u7f16\u8bd1\u8fdb\u4e86\u4e00\u4e2a\u5355\u4e00\u7684\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\uff0c\u56e0\u6b64BusyBox\u5177\u6709\u4f53\u79ef\u5c0f\u5de7\uff0c\u529f\u80fd\u5168\u9762\u7684\u7279\u70b9\u3002<\/p>\n<h2 class=\"wp-block-heading\"><strong>BusyBox<\/strong><strong>\u662f\u4ec0\u4e48<\/strong><\/h2>\n<p>BusyBox\uff0c\u4ece\u5b8f\u89c2\u4e0a\u6765\u770b\uff0c\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u3001\u591a\u529f\u80fd\u7684Linux\u5de5\u5177\u96c6\u3002\u5176\u6838\u5fc3\u7279\u6027\u5982\u4e0b\uff1a<\/p>\n<ol start=\"1\" type=\"1\">\n<li><strong>\u5355\u4e00\u53ef\u6267\u884c\u6587\u4ef6<\/strong>\uff1aBusyBox\u7684\u6240\u6709\u529f\u80fd\u90fd\u88ab\u7f16\u8bd1\u8fdb\u4e86\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\u3002\u8fd9\u610f\u5473\u7740\uff0c\u4f60\u53ea\u9700\u8981\u4e00\u4e2a\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u62e5\u6709\u4e00\u767e\u591a\u4e2a\u5e38\u89c1\u7684UNIX\u5de5\u5177\u7684\u529f\u80fd\u3002<\/li>\n<li><strong>\u4f53\u79ef\u5c0f\u5de7<\/strong>\uff1a\u5c3d\u7ba1BusyBox\u5305\u542b\u4e86\u4e00\u767e\u591a\u4e2a\u5de5\u5177\u7684\u529f\u80fd\uff0c\u4f46\u5b83\u7684\u4f53\u79ef\u5374\u975e\u5e38\u5c0f\u3002\u8fd9\u4f7f\u5f97BusyBox\u975e\u5e38\u9002\u5408\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u548c\u8d44\u6e90\u6709\u9650\u7684\u73af\u5883\u4e2d\u4f7f\u7528\u3002<\/li>\n<li><strong>\u529f\u80fd\u5168\u9762<\/strong>\uff1aBusyBox\u5305\u542b\u4e86\u5f88\u591a\u5e38\u89c1\u7684UNIX\u5de5\u5177\uff0c\u5982\u6587\u4ef6\u64cd\u4f5c\u5de5\u5177\u3001\u7f51\u7edc\u5de5\u5177\u3001\u6587\u672c\u5904\u7406\u5de5\u5177\u7b49\u3002\u56e0\u6b64\uff0c\u4f7f\u7528BusyBox\uff0c\u4f60\u51e0\u4e4e\u53ef\u4ee5\u5b8c\u6210\u6240\u6709\u5e38\u89c1\u7684Linux\u547d\u4ee4\u884c\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cBusyBox\u5728\u5f88\u591a\u5d4c\u5165\u5f0fLinux\u7cfb\u7edf\u4e2d\u90fd\u80fd\u89c1\u5230\uff0c\u4f8b\u5982\u8def\u7531\u5668\u3001\u667a\u80fd\u7535\u89c6\u3001\u667a\u80fd\u5bb6\u5c45\u8bbe\u5907\u7b49\u3002\u56e0\u4e3a\u8fd9\u4e9b\u8bbe\u5907\u7684\u786c\u4ef6\u8d44\u6e90\u6709\u9650\uff0c\u800cBusyBox\u53c8\u5177\u6709\u4f53\u79ef\u5c0f\u5de7\uff0c\u529f\u80fd\u5168\u9762\u7684\u7279\u6027\uff0c\u56e0\u6b64BusyBox\u662f\u8fd9\u4e9b\u8bbe\u5907\u7406\u60f3\u7684\u7cfb\u7edf\u5de5\u5177\u96c6\u3002<\/p>\n<h2 class=\"wp-block-heading\"><strong>\u5ef6\u4f38\u9605\u8bfb<\/strong><\/h2>\n<p><strong>\u6df1\u5165\u7406\u89e3BusyBox\u7684\u4f7f\u7528<\/strong><\/p>\n<p>\u5bf9\u4e8e\u60f3\u8981\u6df1\u5165\u7406\u89e3BusyBox\u7684\u4f7f\u7528\u7684\u8bfb\u8005\uff0c\u5efa\u8bae\u8be6\u7ec6\u4e86\u89e3\u5982\u4f55\u901a\u8fc7BusyBox\u6267\u884c\u5404\u79cd\u5e38\u89c1\u7684Linux\u547d\u4ee4\u884c\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u5982\u4f55\u4f7f\u7528BusyBox\u7684cp\u547d\u4ee4\u590d\u5236\u6587\u4ef6\uff0c\u5982\u4f55\u4f7f\u7528BusyBox\u7684ifconfig\u547d\u4ee4\u914d\u7f6e\u7f51\u7edc\u7b49\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u66f4\u6df1\u5165\u5730\u7406\u89e3BusyBox\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u5b83\u5982\u4f55\u5c06\u4e00\u767e\u591a\u4e2a\u5de5\u5177\u7684\u529f\u80fd\u96c6\u6210\u5728\u4e00\u4e2a\u5355\u4e00\u7684\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"BusyBox\u662f\u4e00\u6b3e\u5728Linux\u7cfb\u7edf\u4e2d\u5e7f\u6cdb\u4f7f\u7528\u7684\u5f00\u6e90\u8f6f\u4ef6\u5de5\u5177\u96c6\uff0c\u7531\u4e00\u4e2a\u5355\u4e00\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7ec4\u6210\uff0c\u80fd\u591f\u63d0\u4f9b\u591a\u4e2a\u5e38\u89c1\u7684 [&hellip;]","protected":false},"author":1,"featured_media":38013,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/38012"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=38012"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/38012\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/38013"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=38012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=38012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=38012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}