We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a417715 commit 1ea87bfCopy full SHA for 1ea87bf
command/tree.md
@@ -91,4 +91,13 @@ tree /private/ -L 1
91
└── var
92
```
93
94
+忽略文件夹
95
+
96
+```bash
97
+tree -I node_modules # 忽略当前目录文件夹node_modules
98
+tree -P node_modules # 列出当前目录文件夹node_modules的目录结构
99
+tree -P node_modules -L 2 # 显示目录node_modules两层的目录树结构
100
+tree -L 2 > /home/www/tree.txt # 当前目录结果存到 tree.txt 文件中
101
+```
102
103
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
0 commit comments