How can you list only directories from the current directory?

In: Linux

To list the subdirectories in the current directory:

find . -maxdepth 1 -type d

To list the subdirectories and all their subdirectories:

find . -type d

 

Improve Answer Discuss the question "How can you list only directories from the current directory?" Watch Question

First answer by Hvdeynde. Last edit by Hvdeynde. Contributor trust: 35 [recommend contributor]. Question popularity: 14 [recommend question]


Research your answer:

Can you answer other questions about linux?

Answers.com > Wiki Answers > Categories > Technology > Computers > Linux > How can you list only directories from the current directory?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
List the current cabinet posts?  List the advisory of the current president?