默认linux下没有tree命令
-bash: tree: command not found
目前文件太大,下载到VPS上,需要有目录列表:
apt install tree
显示隐藏文件:
tree -a
列出每个子目录和文件的完整路径内容:
tree -f
只打印子目录不显示里面的文件:
tree -d
使用-o选项将tree的输出内容发送或重定向到文件名,以便稍后进行分析:
tree -f -o res.txt
拓展阅读(点评/知识):
其他参考:
https://blog.csdn.net/qq_41854911/article/details/122354749
本文标题: | linux下使用tree命令 |
本文链接: (转载请附上本文链接) | https://vulsee.com/archives/vulsee_2022/0610_16403.html |