[buug] Question: getting ls to only display entries that are directories

Brian Sobolak sobolak at myrealbox.com
Fri Aug 16 10:07:51 PDT 2002


hi 

I'm sure this is easy.

I'd like to know if there is a native parameter to 'ls'
that just displays which entries are themselves directories.
I've tried to RTFM, but somehow I just can't grok it.

The command I use now is 'ls -al | grep ^d'.  Surely
there is something better?

brian


--
Brian Sobolak
http://www.planetshwoop.com/
sobolak at myrealbox.com




More information about the buug mailing list