文件导航CLI Manual
$tree
Display directory structure in a recursive visual tree diagram.
命令语法POSIX Standard
tree [OPTIONS] [DIRECTORY]在交互式终端沙盒中实时运行
无需安装的客户端实时仿真环境。
bash — terminal
AST Sandbox (Free)
概述与工作原理
`tree` is a recursive directory listing program that produces a depth-indented visual tree of files and folders.
常用参数与选项说明
| Flag / Option | Description |
|---|---|
| -L [level] | Max display depth of the directory tree. |
| -d | List directories only without listing files. |
| -a | All files are listed including hidden files. |