{"id":18460,"date":"2024-05-05T20:15:16","date_gmt":"2024-05-05T12:15:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/srpxlxtzdtml"},"modified":"2024-05-05T20:15:16","modified_gmt":"2024-05-05T12:15:16","slug":"srpxlxtzdtml","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/srpxlxtzdtml","title":{"rendered":"\u6df1\u5165\u5256\u6790Linux\u7cfb\u7edf\u4e2d\u7684tree\u547d\u4ee4\u53ca\u4f7f\u7528\u6280\u5de7\uff1a\u7406\u89e3\u6587\u4ef6\u7cfb\u7edf\u67b6\u6784\u7684\u53ef\u89c6\u5316\u4e4b\u6811"},"content":{"rendered":"<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u672c\u6587\u6df1\u5165\u5256\u6790<a style='color:#0000CC' href='https:\/\/www.linuxprobe.com\/' target='_blank' rel=\"noopener\">Linux<\/a><a style='color:#0000CC' href='https:\/\/www.linuxdown.com\/' target='_blank' rel=\"noopener\">\u7cfb\u7edf<\/a>\u4e2d\u7684&#8221;tree&#8221;<a style='color:#0000CC' href='https:\/\/www.linuxcool.com\/' target='_blank' rel=\"noopener\">\u547d\u4ee4<\/a>\u53ca\u5176\u4f7f\u7528\u6280\u5de7\u3002\u8be5\u547d\u4ee4\u80fd\u76f4\u89c2\u5730\u5c55\u793a\u6587\u4ef6\u53ca\u76ee\u5f55\u5c42\u7ea7\u7ed3\u6784\uff0c\u6709\u5982\u4e00\u68f5\u53ef\u89c6\u5316\u4e4b\u6811\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>\u8ba4\u8bc6tree\u547d\u4ee4<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>&#8220;Tree&#8221;\u547d\u4ee4\u63d0\u4f9b\u7b80\u6613\u800c\u6e05\u6670\u7684\u76ee\u5f55\u7ed3\u6784\u89c6\u56fe\u5de5\u5177linux\u64cd\u4f5c\u7cfb\u7edf\u6559\u7a0b\uff0c\u8ba9\u7528\u6237\u80fd\u4fbf\u6377\u5730\u67e5\u770b\u53ca\u7406\u89e3\u6307\u5b9a\u76ee\u5f55\u4e0e\u5176\u4e0b\u5c5e\u76ee\u5f55\u4e0e\u6587\u4ef6\u7684\u5173\u7cfb\uff0c\u6df1\u5165\u7406\u89e3\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u7684\u67b6\u6784\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u901a\u5e38\uff0ctree\u547d\u4ee4\u7684\u57fa\u672c\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>&#8220;`<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>tree[\u9009\u9879][\u76ee\u5f55]<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728\u8be5\u73af\u8282\u4e2d\uff0c\u9009\u9879\u80fd\u652f\u6301\u7528\u6237\u5bf9tree\u547d\u4ee4\u8fdb\u884c\u4e2a\u6027\u5316\u914d\u7f6e\u3002\u76ee\u6807\u76ee\u5f55\u4ee3\u8868\u9700\u8981\u5c55\u793a\u7684\u6811\u5f62\u7ed3\u6784\u8def\u5f84\u3002\u5982\u672a\u6307\u5b9a\uff0ctree\u5c06\u4f1a\u81ea\u52a8\u663e\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u7684\u6811\u72b6\u7ed3\u6784\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>\u57fa\u672c\u7528\u6cd5<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u9996\u5148<strong>linux\u547d\u4ee4tree<\/strong>\uff0c\u8bf7\u719f\u6089\u6811\u72b6\u7ed3\u6784\u64cd\u4f5c\u547d\u4ee4Tree\u7684\u57fa\u672c\u4f7f\u7528\u65b9\u6cd5\u3002\u4ee5\u5305\u542b\u591a\u5c42\u5b50\u76ee\u5f55\u53ca\u6587\u4ef6\u7684&#8221;documents&#8221;\u6587\u4ef6\u5939\u4e3a\u4f8b\uff0c\u4ec5\u9700\u5728\u7ec8\u7aef\u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u83b7\u53d6\u5176\u5b8c\u6574\u7684\u7ed3\u6784\u5c42\u6b21\u89c6\u56fe\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>treedocuments<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8bf7\u5728\u63a5\u6536\u6b64\u9879\u6307\u4ee4\u540e\uff0c\u89c2\u5bdf\u7ec8\u7aef\u754c\u9762\u662f\u5426\u5448\u73b0\u4e86\u201cdocument\u201d\u76ee\u5f55\u53ca\u5176\u5404\u5b50\u76ee\u5f55\u4e0e\u6587\u6863\u7684\u8be6\u7ec6\u7ed3\u6784\u5c42\u6b21\u3002\u7f29\u8fdb\u7684\u5c42\u7ea7\u6307\u793a\u5bf9\u5e94\u5b50\u76ee\u5f55\u7684\u6df1\u5ea6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6b64\u5916\uff0c\u672c\u547d\u4ee4\u63d0\u4f9b\u4e86\u591a\u79cd\u5b9e\u7528\u7b5b\u9009\u9009\u9879\uff0c\u4f8b\u5982\u901a\u8fc7&#8221;-a&#8221;\u53c2\u6570\u63ed\u793a\u6240\u6709\u6587\u4ef6\u53ca\u76ee\u5f55\uff08\u542b\u9690\u542b\u6587\u4ef6\uff09<strong>linux\u547d\u4ee4tree<\/strong>\uff0c\u4ee5\u53ca\u5229\u7528&#8221;-L&#8221;\u53c2\u6570\u7075\u6d3b\u8c03\u6574\u67e5\u770b\u5c42\u7ea7\u6df1\u5ea6\u7b49\u5f3a\u5927\u529f\u80fd\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2024\/05\/1714911316999_1.jpg' alt='linux\u547d\u4ee4tree_linux\u547d\u4ee4\u5927\u5168_linux\u5173\u673a\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>\u5e38\u7528\u9009\u9879<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>--a\uff1a\u663e\u793a\u6240\u6709\u6587\u4ef6\u548c\u76ee\u5f55\u865a\u62df\u4e3b\u673a linux\uff0c\u5305\u62ec\u4ee5&#8221;.&#8221;\u5f00\u5934\u7684\u9690\u85cf\u6587\u4ef6\u3002<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>L\u5c42\uff1a\u672c\u7cfb\u7edf\u4ec5\u5c55\u793a\u9009\u5b9a\u5c42\u6b21\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u4ee5\u786e\u4fdd\u6df1\u5ea6\u5408\u7406\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>--f\uff1a\u5728\u6bcf\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u540d\u79f0\u524d\uff0c\u663e\u793a\u5b8c\u6574\u7684\u76f8\u5bf9\u8def\u5f84\u3002<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>--i\uff1a\u4e0d\u4ee5\u56fe\u5f62\u65b9\u5f0f\u663e\u793a\u6811\u72b6\u56fe\uff0c\u800c\u662f\u4ee5\u7f29\u8fdb\u65b9\u5f0f\u663e\u793a\u3002<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>--s\uff1a\u663e\u793a\u6bcf\u4e2a\u6587\u4ef6\u7684\u5927\u5c0f\u3002<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>&#8212;dirsfirst\uff1a\u4f18\u5148\u663e\u793a\u76ee\u5f55\u800c\u4e0d\u662f\u6587\u4ef6\u3002<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>&#8212;prune\uff1a\u6307\u5b9a\u8981\u6392\u9664\u7684\u76ee\u5f55\u6216\u6587\u4ef6\u6a21\u5f0f\u3002<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u901a\u8fc7\u7ec4\u5408\u5404\u79cd\u9009\u9879\u4f18\u52bf\uff0c\u6211\u4eec\u5f97\u4ee5\u4f9d\u636e\u5b9e\u9645\u9700\u8981\uff0c\u8fd0\u7528tree\u6307\u4ee4\u5b9e\u73b0\u7075\u6d3b\u81ea\u5982\u5730\u8c03\u6574\u76ee\u5f55\u7ed3\u6784\u7684\u5c55\u793a\u5f62\u5f0f\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u672c\u6587\u5c55\u793a\u4e86\u6811\u72b6\u56fe\u64cd\u4f5c\u7684\u5b9e\u7528\u6848\u4f8b\uff0c\u65e8\u5728\u4e3a\u76f8\u5173\u4ece\u4e1a\u8005\u63d0\u4f9b\u53c2\u8003\u548c\u542f\u793a\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8fd0\u7528\u6811\u72b6\u56fe\u89c6\u56fe\u7684tree\u547d\u4ee4\uff0c\u53ef\u4fbf\u6377\u638c\u63e1\u5e76\u6df1\u5165\u6d1e\u5bdf\u6587\u4ef6\u7cfb\u7edf\u7684\u76ee\u5f55\u5c42\u6b21\u4e0e\u903b\u8f91\u5173\u8054\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u9879\u76ee\u7ba1\u7406\u65b9\u9762\uff0c\u8fd0\u7528Tree\u547d\u4ee4\u80fd\u591f\u6709\u6548\u68c0\u67e5\u4e0e\u8c03\u6574\u9879\u76ee\u67b6\u6784\uff0c\u589e\u5f3a\u6587\u4ef6\u64cd\u4f5c\u6548\u7387\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728\u7cfb\u7edf\u7ef4\u62a4\u8fc7\u7a0b\u4e2d\uff0c\u501f\u52a9Tree\u547d\u4ee4\u53ef\u7cbe\u786e\u5b9a\u4f4d\u6587\u4ef6\u4e0e\u76ee\u5f55\u7684\u4f4d\u7f6e\uff0c\u6709\u52a9\u4e8e\u7cbe\u786e\u8bca\u65ad\u53ca\u8fc5\u901f\u4fee\u590d\u5404\u7c7b\u6545\u969c\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u4f7f\u7528Tree\u547d\u4ee4\u6784\u5efa\u76ee\u5f55\u6811\u72b6\u7ed3\u6784\uff0c\u4fdd\u8bc1\u4e86\u5728\u6570\u636e\u5907\u4efd\u53ca\u8fd8\u539f\u8fc7\u7a0b\u4e2d\u6570\u636e\u7684\u5b8c\u6574\u6027\u4e0e\u4e00\u81f4\u6027\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6388\u6743\u63a7\u5236\uff1a\u501f\u52a9tree\u6307\u4ee4\uff0c\u80fd\u591f\u7cbe\u786e\u6355\u6349\u6587\u4ef6\u4e0e\u76ee\u5f55\u6743\u9650\u6570\u636e\uff0c\u8fdb\u800c\u4e3a\u5ba2\u6237\u63d0\u4f9b\u4fbf\u6377\u53ca\u9ad8\u6548\u7387\u7684\u6743\u9650\u7ba1\u7406\u4e0e\u8bbf\u95ee\u63a7\u5236\u670d\u52a1\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6587\u4ef6\u5bb9\u91cf\u76d1\u6d4b\uff1a\u91c7\u7528\u201c-s\u201d\u53c2\u6570\u4e0eTree\u547d\u4ee4\u534f\u540c\u64cd\u4f5c\uff0c\u4ee5\u76f4\u89c2\u5448\u73b0\u5404\u4e2a\u6587\u4ef6\u5b9e\u9645\u5b58\u50a8\u5bb9\u91cf\uff0c\u4e3a\u5168\u9762\u6df1\u5165\u4e86\u89e3\u53ca\u8bc4\u4f30\u6587\u4ef6\u89c4\u6a21\u63d0\u4f9b\u65b9\u4fbf\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u603b\u4f53\u6765\u8bf4\uff0cLinux\u7cfb\u7edf\u4e2d\u7684Tree\u547d\u4ee4\u65e0\u7591\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u4e14\u5177\u6709\u6781\u9ad8\u5b9e\u9645\u5e94\u7528\u4ef7\u503c\u7684\u547d\u4ee4\u5de5\u5177\uff0c\u5176\u9488\u5bf9\u76ee\u5f55\u7ed3\u6784\u7684\u6e05\u6670\u5448\u73b0\u5bf9\u6587\u4ef6\u7ba1\u7406\u53ca\u7cfb\u7edf\u7ef4\u62a4\u90fd\u8d77\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><b>\u7ed3\u8bed<\/b><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u672c\u6587\u5c06\u6df1\u5ea6\u89e3\u8bfbLinuxTree\u547d\u4ee4\u7684\u8981\u70b9\uff0c\u5e76\u6307\u5bfc\u8bfb\u8005\u5982\u4f55\u5728\u5b9e\u8df5\u4e2d\u6839\u636e\u81ea\u8eab\u9700\u6c42\u548c\u73af\u5883\u7075\u6d3b\u8fd0\u7528\uff0c\u4ece\u800c\u63d0\u5347\u5de5\u4f5c\u6548\u80fd\u53ca\u5bf9\u6587\u4ef6\u7cfb\u7edf\u7684\u7cbe\u7ec6\u5316\u7ba1\u7406\u548c\u7ef4\u62a4\u80fd\u529b\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8bf7\u95ee\u5728\u8d35\u516c\u53f8\u7684\u804c\u4e1a\u751f\u6daf\u4e2d\u6709\u5426\u8fd0\u7528\u8fc7tree\u547d\u4ee4\u5462\uff1f\u80fd\u5728\u8fd9\u91cc\u4ecb\u7ecd\u4e0b\u5b83\u7ed9\u4f60\u7684\u65e5\u5e38\u5de5\u4f5c\u5e26\u6765\u4e86\u54ea\u4e9b\u4fbf\u6377\u4e4b\u5904\u5417\uff1f\u6211\u4eec\u671f\u5f85\u60a8\u5728\u7559\u8a00\u533a\u5206\u4eab\u4f60\u5b9d\u8d35\u7684\u5b9e\u8df5\u7ecf\u9a8c\u4e0e\u89c2\u70b9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8be5\u547d\u4ee4\u80fd\u76f4\u89c2\u5730\u5c55\u793a\u6587\u4ef6\u53ca\u76ee\u5f55\u5c42\u7ea7\u7ed3\u6784\uff0c\u6709\u5982\u4e00\u68f5\u53ef\u89c6\u5316\u4e4b\u6811\u3002\u6b64\u5916\uff0c\u672c\u547d\u4ee4\u63d0\u4f9b\u4e86\u591a\u79cd\u5b9e\u7528\u7b5b\u9009\u9009\u9879\uff0c\u4f8b\u5982\u901a\u8fc7-a\u53c2\u6570\u63ed\u793a\u6240\u6709\u6587\u4ef6\u53ca\u76ee\u5f55\uff08\u542b\u9690\u542b\u6587\u4ef6\uff09\uff0c\u4ee5\u53ca\u5229\u7528-L\u53c2\u6570\u7075\u6d3b\u8c03\u6574\u67e5\u770b\u5c42\u7ea7\u6df1\u5ea6\u7b49\u5f3a\u5927\u529f\u80fd\u3002\u8fd0\u7528\u6811\u72b6\u56fe\u89c6\u56fe\u7684tree\u547d\u4ee4\uff0c\u53ef\u4fbf\u6377\u638c\u63e1\u5e76\u6df1\u5165\u6d1e\u5bdf\u6587\u4ef6\u7cfb\u7edf\u7684\u76ee\u5f55\u5c42\u6b21\u4e0e\u903b\u8f91\u5173\u8054\u3002<\/p>\n","protected":false},"author":1,"featured_media":18461,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[37,641,40,32,84],"class_list":["post-18460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-ml","tag-sj-3","tag-cz","tag-wj","tag-ml-2"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/18460","targetHints":{"allow":["GET"]}}],"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=18460"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/18460\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media\/18461"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=18460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=18460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=18460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}