List only directories from the command line

By | February 19, 2009

If you’re in a Terminal session and would like to only list the directories of the current folder you’re in, do a

ls -d */

One thought on “List only directories from the command line

  1. Pingback: List directories only from CLI « Linux & Stuff

Leave a Reply

Your email address will not be published. Required fields are marked *