本文共 113 字,大约阅读时间需要 1 分钟。
1、只显示指定目录的隐藏文件 ls -d /etc/.*
2、只显示指定目录下目录(不看文件) ls -d /testdir/*/
转载于:https://blog.51cto.com/babyhanggege/1832885