As simple as: How to show all sub-directories from current directory in linux?
I didn't find any question as direct as this one on the forum.
Thanks :)
As simple as: How to show all sub-directories from current directory in linux?
I didn't find any question as direct as this one on the forum.
Thanks :)
It's probably find
you are searching for:
find -type d
This will list all subdirectories of the folder - recursively. If you don't want them recursively then pass maxdepth
:
find -maxdepth 1 -type d