📜  ls -al 仅列出目录 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:25.860000             🧑  作者: Mango

代码示例1
# List directories under the current working directory.
ls -l | grep "^d"

# List directories under the current working directory and 
# include hidden folders
ls -la | grep "^d"