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

Re: display directories only

On Mon, 05 Jan 2004 the mental interface of 
Rick Weinbender told:

> 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.

I am using the zShell zsh. In there it is easy:

alias lsd='ls -lad *(/)'
alias lsddots='ls -lad .*(/)



  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche

Attachment: pgpJU1skpPoBG.pgp
Description: PGP signature

Reply to: