只显示指定目录的隐藏文件; eg:ls -d /etc/.* 2.只显示指定目录下目录(不看文件); eg:ls -d /etc/*/ 转载于:https://blog.51cto.com/yacheng0316/1951448