Re: display directories only
On Mon, Jan 05, 2004 at 06:43:23PM +0100, Elimar Riesebieter wrote:
> 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 .*(/)
>
#ls -d `find -type d -maxdepth 1`
? can't think of anything simpler
Reply to: