linux tree 命令

编程入门 行业动态 更新时间:2024-10-23 05:52:17

linux tree <a href=https://www.elefans.com/category/jswz/34/1771323.html style=命令"/>

linux tree 命令

使用cmder确实是方便了很多,想看命令帮助信息:

$ help tree
以图形显示驱动器或路径的文件夹结构。TREE [drive:][path] [/F] [/A]/F   显示每个文件夹中文件的名称。/A   使用 ASCII 字符,而不使用扩展字符。
看看区别

扩展字符显示

$ tree work /f                                      
卷 软件 的文件夹 PATH 列表                                   
卷序列号为 000E-E536                                     
D:\APACHE TOMCAT9_X64\WORK                          
└─Catalina                                          ├─boystyle                                   │  ├─docs                                       │  ├─examples                                   │  ├─host-manager                               │  ├─manager                                    │  └─ROOT                                       ├─localhost                                     │  ├─docs                                       │  ├─examples                                   │  ├─host-manager                               │  ├─manager                                    │  └─ROOT                                       │      └─org                                    │          └─apache                             │              └─jsp                            │                      index_jsp.class          │                      index_jsp.java           │                                               └─qiuboai                                   ├─docs                                      ├─examples                                  ├─host-manager                              ├─manager                                   ├─qiuboai                                   └─ROOT                                      

ASCII字符显示,适合文本文件

$ tree work /f /a                                      
卷 软件 的文件夹 PATH 列表                                      
卷序列号为 000E-E536                                        
D:\APACHE TOMCAT9_X64\WORK                             
\---Catalina                                           +---boystyle                                    |   +---docs                                       |   +---examples                                   |   +---host-manager                               |   +---manager                                    |   \---ROOT                                       +---localhost                                      |   +---docs                                       |   +---examples                                   |   +---host-manager                               |   +---manager                                    |   \---ROOT                                       |       \---org                                    |           \---apache                             |               \---jsp                            |                       index_jsp.class            |                       index_jsp.java             |                                                  \---qiuboai                                    +---docs                                       +---examples                                   +---host-manager                               +---manager                                    +---qiuboai                                    \---ROOT                                       

转载于:.html

更多推荐

linux tree 命令

本文发布于:2024-03-13 16:43:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1734402.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令   linux   tree

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!