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

Re: display directories only



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



Reply to: