{"id":1448,"date":"2019-04-29T13:14:50","date_gmt":"2019-04-29T05:14:50","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=1448"},"modified":"2022-06-05T14:58:55","modified_gmt":"2022-06-05T06:58:55","slug":"tree","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/tree","title":{"rendered":"tree\u547d\u4ee4 – \u4ee5\u6811\u72b6\u56fe\u5f62\u5f0f\u5217\u51fa\u76ee\u5f55\u5185\u5bb9"},"content":{"rendered":"\n
tree\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u4ee5\u6811\u72b6\u56fe\u5f62\u5f0f\u5217\u51fa\u76ee\u5f55\u5185\u5bb9\uff0c\u5e2e\u52a9\u8fd0\u7ef4\u4eba\u5458\u5feb\u901f\u4e86\u89e3\u5230\u76ee\u5f55\u7684\u5c42\u7ea7\u5173\u7cfb\u3002 <\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>tree [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u663e\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5c42\u7ea7\u60c5\u51b5\uff1a<\/p>\n\n\n\n \u4ee5\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u66f4\u6539\u65f6\u95f4\u8fdb\u884c\u6392\u5e8f\uff1a<\/p>\n\n\n\n \u4ee5\u5e26\u6709\u76f8\u5bf9\u8def\u5f84\u7684\u5f62\u5f0f\uff0c\u663e\u793a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5c42\u7ea7\u60c5\u51b5\uff1a<\/p>\n\n\n\n \u53ea\u663e\u793a\u76ee\u5f55\u7684\u5c42\u7ea7\u5173\u7cfb\u60c5\u51b5\uff1a<\/p>\n\n\n\n tree\u547d\u4ee4\u7684\u529f\u80fd\u662f\u7528\u4e8e\u4ee5\u6811\u72b6\u56fe\u5f62\u5f0f\u5217\u51fa\u76ee\u5f55\u5185\u5bb9\uff0c\u5e2e\u52a9\u8fd0\u7ef4\u4eba\u5458\u5feb\u901f\u4e86\u89e3\u5230\u76ee\u5f55\u7684\u5c42\u7ea7\u5173\u7cfb\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1atree […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1448"}],"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=1448"}],"version-history":[{"count":13,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1448\/revisions"}],"predecessor-version":[{"id":10219,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1448\/revisions\/10219"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=1448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=1448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=1448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u663e\u793a\u6240\u6709\u6587\u4ef6\u548c\u76ee\u5f55<\/td><\/tr> -A<\/td> ASNI\u7ed8\u56fe\u5b57\u7b26\u5f62\u5f0f<\/td><\/tr> -C<\/td> \u5f69\u8272\u663e\u793a<\/td><\/tr> -d<\/td> \u4ec5\u663e\u793a\u76ee\u5f55\u540d\u79f0<\/td><\/tr> -D<\/td> \u663e\u793a\u6587\u4ef6\u66f4\u6539\u65f6\u95f4<\/td><\/tr> -f<\/td> \u663e\u793a\u5b8c\u6574\u7684\u76f8\u5bf9\u8def\u5f84\u540d\u79f0<\/td><\/tr> -g<\/td> \u663e\u793a\u6587\u4ef6\u6240\u5c5e\u7fa4\u7ec4\u540d\u79f0<\/td><\/tr> -i<\/td> \u4e0d\u4ee5\u9636\u68af\u72b6\u5217\u51fa\u6587\u4ef6\u6216\u76ee\u5f55\u540d\u79f0<\/td><\/tr> -I<\u8303\u672c\u6837\u5f0f><\/td> \u4e0d\u663e\u793a\u7b26\u5408\u8303\u672c\u6837\u5f0f\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u540d\u79f0<\/td><\/tr> -l<\/td> \u76f4\u63a5\u663e\u793a\u8fde\u63a5\u6587\u4ef6\u6240\u6307\u5411\u7684\u539f\u59cb\u76ee\u5f55 <\/td><\/tr> -n <\/td> \u4e0d\u5728\u6587\u4ef6\u548c\u76ee\u5f55\u6e05\u5355\u4e0a\u52a0\u4e0a\u8272\u5f69 <\/td><\/tr> -N <\/td> \u76f4\u63a5\u5217\u51fa\u6587\u4ef6\u548c\u76ee\u5f55\u540d\u79f0<\/td><\/tr> -p <\/td> \u5217\u51fa\u6743\u9650\u6807\u793a <\/td><\/tr> -P<\u8303\u672c\u6837\u5f0f> <\/td> \u53ea\u663e\u793a\u7b26\u5408\u8303\u672c\u50cf\u662f\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u540d\u79f0 <\/td><\/tr> -q <\/td> \u7528\u201c?\u201d\u53f7\u53d6\u4ee3\u63a7\u5236\u5b57\u7b26\uff0c\u5217\u51fa\u6587\u4ef6\u548c\u76ee\u5f55\u540d\u79f0 <\/td><\/tr> -s <\/td> \u5217\u51fa\u6587\u4ef6\u6216\u76ee\u5f55\u5927\u5c0f <\/td><\/tr> -t <\/td> \u7528\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u66f4\u6539\u65f6\u95f4\u6392\u5e8f<\/td><\/tr> -u<\/td> \u5217\u51fa\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u62e5\u6709\u8005\u540d\u79f0<\/td><\/tr> -x<\/td> \u5c06\u8303\u56f4\u5c40\u9650\u5728\u73b0\u884c\u7684\u6587\u4ef6\u7cfb\u7edf\u4e2d<\/td><\/tr> -L<\/td> \u5c42\u7ea7\u663e\u793a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# tree\n<\/strong>.\n\u251c\u2500\u2500 anaconda-ks.cfg\n\u251c\u2500\u2500 Desktop\n\u251c\u2500\u2500 Documents\n\u251c\u2500\u2500 Downloads\n\u251c\u2500\u2500 file.zip\n\u251c\u2500\u2500 initial-setup-ks.cfg\n\u251c\u2500\u2500 Music\n\u251c\u2500\u2500 Pictures\n\u251c\u2500\u2500 Public\n\u251c\u2500\u2500 Templates\n\u251c\u2500\u2500 Videos\n\u2514\u2500\u2500 website\n \u251c\u2500\u2500 linuxcool.com\n \u251c\u2500\u2500 linuxdown.com\n \u2514\u2500\u2500 linuxprobe.com<\/pre>\n\n\n\n
[root@linuxcool ~]# tree -t<\/strong>\r\n.\r\n\u251c\u2500\u2500 anaconda-ks.cfg\r\n\u251c\u2500\u2500 initial-setup-ks.cfg\r\n\u251c\u2500\u2500 Desktop\r\n\u251c\u2500\u2500 Documents\r\n\u251c\u2500\u2500 Downloads\r\n\u251c\u2500\u2500 Music\r\n\u251c\u2500\u2500 Pictures\r\n\u251c\u2500\u2500 Public\r\n\u251c\u2500\u2500 Templates\r\n\u251c\u2500\u2500 Videos\r\n\u251c\u2500\u2500 file.zip\r\n\u2514\u2500\u2500 website\r\n \u251c\u2500\u2500 linuxdown.com\r\n \u251c\u2500\u2500 linuxprobe.com\r\n \u2514\u2500\u2500 linuxcool.com\r<\/pre>\n\n\n\n
[root@linuxcool ~]# tree -f<\/strong>\r\n.\r\n\u251c\u2500\u2500 .\/anaconda-ks.cfg\r\n\u251c\u2500\u2500 .\/Desktop\r\n\u251c\u2500\u2500 .\/Documents\r\n\u251c\u2500\u2500 .\/Downloads\r\n\u251c\u2500\u2500 .\/file.zip\r\n\u251c\u2500\u2500 .\/initial-setup-ks.cfg\r\n\u251c\u2500\u2500 .\/Music\r\n\u251c\u2500\u2500 .\/Pictures\r\n\u251c\u2500\u2500 .\/Public\r\n\u251c\u2500\u2500 .\/Templates\r\n\u251c\u2500\u2500 .\/Videos\r\n\u2514\u2500\u2500 .\/website\r\n \u251c\u2500\u2500 .\/website\/linuxcool.com\r\n \u251c\u2500\u2500 .\/website\/linuxdown.com\r\n \u2514\u2500\u2500 .\/website\/linuxprobe.com<\/pre>\n\n\n\n
[root@linuxcool ~]# tree -d<\/strong>\n.\n\u251c\u2500\u2500 Desktop\n\u251c\u2500\u2500 Documents\n\u251c\u2500\u2500 Downloads\n\u251c\u2500\u2500 Music\n\u251c\u2500\u2500 Pictures\n\u251c\u2500\u2500 Public\n\u251c\u2500\u2500 Templates\n\u251c\u2500\u2500 Videos\n\u2514\u2500\u2500 website\n \u251c\u2500\u2500 linuxcool.com\n \u251c\u2500\u2500 linuxdown.com\n \u2514\u2500\u2500 linuxprobe.com\n12 directories<\/pre>\n","protected":false},"excerpt":{"rendered":"