tree:以树形结构显示目录下的目录
tree [option] [directory]
选项
说明
# 不带目录
[root@192 test]# tree -f
.
├── ./a.sh
├── ./dump.sh
└── ./tt
└── ./tt/c.sh
# 带目录
[root@192 test]# tree -f $PWD
/root/test
├── /root/test/a.sh
├── /root/test/dump.sh
└── /root/test/tt
└── /root/test/tt/c.sh最后更新于