One - One Code All

Blog Content

linux tree命令以树形结构显示文件目录结构

Linux-Mac   2008-01-16 07:40:48

tree -L 1  : 查看不同级别子目录和文件; 

tree -L 2  : 查看当前第一级的目录和文件; 

tree -L N :查看当前第二级的目录和文件;

tree --help 查看关于tree命令的帮助信息;



上一篇:打印PYTHONPATH
下一篇:python判断变量的数据类型的两种方法

The minute you think of giving up, think of the reason why you held on so long.