Answers for "cmd list only directories"

1

list only directories

# 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"
Posted by: Guest on October-09-2020
-1

list directory cmd

On linux type in terminal:
ls

On windows type in terminal:
dir
Posted by: Guest on July-25-2021

Code answers related to "cmd list only directories"

Browse Popular Code Answers by Language