[PLUG] Listing only directories

Paul Mullen pem at nellump.net
Tue Mar 2 09:45:03 UTC 2004


On Tue, Mar 02, 2004 at 08:46:21AM -0800, Rich Shepard wrote:
>   Is there a 'ls' option I mis-read that will list only subdirectories
>   in a directory?

I don't know of one off-hand, but 'ls -F | grep /$' is easy enough.


Paul





More information about the PLUG mailing list