Tree command in Ubuntu
tree -d
# to display only the directories [Tree Documentation]
An alternate is to use find
find . -maxdepth 1 -type d
find . -maxdepth 5 -type d
find . -maxdepth 100 -type d
tree -d
# to display only the directories [Tree Documentation]
An alternate is to use find
find . -maxdepth 1 -type d
find . -maxdepth 5 -type d
find . -maxdepth 100 -type d