Linux命令参考
latest
归档备份和压缩
日期与时间
磁盘和文件系统
文件和目录
basename
lsattr/chattr
chattr
chmod
chown
cp
du
file
find
ln
locate
ls
mkdir
mknod
mktemp
mv
pwd
rename
rmdir
rm
slocate
stat
tmpwatch
touch
tree
简介
选项
示例
whereis
内核
网络
包管理
Linux命令参考
Docs
»
文件和目录
»
tree
Edit on GitHub
tree
¶
简介
¶
以树形列举目录
选项
¶
-a 列出所有文件
-d 列目录
-l 跟随链接
-f 打印完整文件名
-x 一个文件系统内
-L 层级
-R
-P 匹配模式
-I 不匹配模式
–prune 去掉空目录
–noreport 不打印总结信息
–charset 字符集
–filelimit 限制个数
–timefmt 时间
-o 输出到文件
示例
¶
tree
-
d
-
L2
/
tmp
/
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.