find . -type d
可用于查找某些起点下方的所有目录.但它.也会返回当前目录(),这可能是不受欢迎的.如何排除它?
.
directory shell find
directory ×1
find ×1
shell ×1