News for hackers. Stuff that matters.
Re:Favorite Unix Commands by gav on Monday January 07, 2013 @03:38PM (#5023105)
Using `find` is nice to get just directories:

$ find . -type d -maxdepth 1

Re:Favorite Unix Commands by pnrao on Monday January 07, 2013 @07:49PM (#5024266)
I use:

% ls -d */

Re:Favorite Unix Commands by VaucGiaps on Monday January 07, 2013 @04:24PM (#5023348)
ls -al | grep ^d
Re:Favorite Unix Commands by ralph on Monday January 07, 2013 @05:50PM (#5023759)
(Fails if a directory has a linefeed in its name followed by a 'd'. :-)