[PLUG] display options

Kevin Hammack kevinh at ados.com
Thu May 23 04:30:06 UTC 2002


On Wed, 22 May 2002 11:13:27 -0700 (PDT)
"Shannon C. Dealy" <dealy at deatech.com> wrote:

Or you could type:

$ ls -ld .*/ */

If you want to stick with minimalism.  

-kev

> On Wed, 22 May 2002, Paul Heinlein wrote:
> 
> > On Wed, 22 May 2002, Longman, Bill wrote:
> >
> > > If you want to fork fewer processes just to find directories, why
> > > not do this:
> > >
> > > ls -ld */
> >
> > I can't get this to show hidden directories, even if I pass ls the
> > -a switch. Am I missing something?
> 
> The usual default in bash is that "*" does not match on file names
> with a leading ".", you have to play with the settings of "dotglob"
> and "GLOBIGNORE" in your shell environment to change this behaviour. 
> I prefer a different approach to this problem:
> 
>    find . -maxdepth 1 -type d
> 





More information about the PLUG mailing list