diff --git a/command/tree.md b/command/tree.md index f47cebbedb..7f47b19152 100644 --- a/command/tree.md +++ b/command/tree.md @@ -106,4 +106,17 @@ tree -L 2 > /home/www/tree.txt # 当前目录结果存到 tree.txt 文件中 tree -I 'node_modules|icon|font' -L 2 ``` +非树状结构列出目录`/private/`下的所有文件 + +``` +tree -if /private/ +/private +/private/a1 +/private/a2 +/private/etc +/private/etc/b1 +/private/etc/b2 +/private/tftpboot +``` +