From 7c1f4f78ef59d6c55fe076ad0b7f5040e96ead45 Mon Sep 17 00:00:00 2001 From: shile <13051960278@163.com> Date: Thu, 10 Dec 2020 16:52:11 +0800 Subject: [PATCH] =?UTF-8?q?Add:=20tree=E4=BE=8B=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- command/tree.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 +``` +