Answers for "list only directories line by linux"

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
9

linux ls directories only

ls -d */
Posted by: Guest on June-15-2020

Code answers related to "list only directories line by linux"

Browse Popular Code Answers by Language