Add: tree例子

This commit is contained in:
shile 2020-12-10 16:52:11 +08:00 committed by 小弟调调™
parent efe121a4f5
commit 7c1f4f78ef
1 changed files with 13 additions and 0 deletions

View File

@ -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
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->