• List directories via command line in Linux

    Having had a complete brain freeze on this, I decided to post the very simple command here to list just directories in most X systems.

    ls -d */

    Now there are many other ways to do this, and very nice listings can be created using multiple piped commands, but if you want something simple without setting up an alias this is what you need.


    Leave a reply