list only directories

September 15th, 2006 mysurface Posted in Common, ls | Hits: 34324 | 7 Comments »

I am searching for ls option that allow me to list only directories. I just want to list the directories but not other files and not the content of directories, I can do this

ls -d */

7 Responses to “list only directories”

  1. […] In fact, I had done the post of list just directories long time ago, Related Postslist only directoriesI am searching for ls option that allow me to […]

  2. […] Related Postslist only directories I am searching for ls option that allow me to list only directories. I just want to list the […]

  3. Thanks! Simple and straight forward…

  4. good one :)

  5. Well I really enjoyed studying it. This tip provided by you is very effective for good planning.

  6. Magnificent web site. A lot of useful information here.
    I’m sending it to some buddies ans additionally sharing in delicious.
    And obviously, thanks in your effort!

  7. I treasure the content on your website. Appreciate it!.

Leave a Reply