Monday, May 14, 2007

Linux command to list only the directories.

I always forget the command to list the directories under Linux, so I write it here. I can check it everytime I forget it.
ls -d */
another command dto do this is using tree command
tree -d -L 1