tree/pstree

tree

yum install tree

不指定路径的话直接显示当前目录的结构
加上-L 表示只显示到指定的目录层级

tree -L 2 ./

posted @ 2019-09-08 10:06  π=3.1415926  阅读(93)  评论(0编辑  收藏  举报