What the hell are these dirs?

Patrick O'Callaghan pocallaghan at gmail.com
Sat Jul 25 16:56:51 UTC 2009


On Sat, 2009-07-25 at 10:37 -0600, Frank Cox wrote:
> On Sat, 25 Jul 2009 10:18:47 -0400
> Kanwar Ranbir Sandhu wrote:
> 
> > Because the "ls" never completes and eventually bombs out with a "too
> > many files" error.  So, though I am assuming, it's not really an
> > assumption.  :)
> 
> for i in *; do echo $i; done
> 
> For subdirectories:
> 
> for i in */*; do echo $i; done

What's wrong with

        echo *

and

        echo */*

?

poc




More information about the fedora-list mailing list