[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: display directories only



On Monday 05 January 2004 09:59, Rick Weinbender wrote:
> Alf Werder wrote:
> > On Mon, 2004-01-05 at 15:47, Rick Weinbender wrote:
> > > I have a basic question.
> > > Is there a method using "ls" from the command line to
> > > have it display only directories.
> > > I've looked thru the help (ls --help), but cant' guess the
> > > right switches.
> >
> > A bare ls cannot do that ... it needs some assistance:
> >
> > ls -l | grep "^d"
> >
> > -alf
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
>
> **************************
>
> Thanks!  That works great.
> -Rick

this one works for me
ls -ld */



Reply to: