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

Jon McClintock jammer at weak.org
Fri Aug 16 10:29:48 PDT 2002


On Fri, Aug 16, 2002 at 12:24:59PM -0500, Brian Sobolak wrote:
> 
> Jon wrote:
> > ls -d */
> 
> Excellent.  This is the trick (kludge?) I needed.  
> 
> Why does this work and ls -d not work?  It only returns "." (current working directory).

Run "echo */"; it should provide the necessary insight.

-Jon



More information about the buug mailing list