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

Re: domanda rapida



On Mon, 16 Sep 2002 14:03:01 +0200
Roberto Rotta <rotta@subdimension.com> wrote:

> * Davide Alberani [16 Sep 2002, 13:33 +0200]:
> > > find /path/to/directory/* | wc -l
> > Cosi` rischi di contare anche eventuali sottodirectory.
> 
> anche cosi` lo fai
> 
> > find /path/to/directory/ -type f | wc -l
> 
> bisogna aggiungere -maxdepth 1
> 

a quel punto, chiedo venia, ma un ls non va bene uguale?



Reply to: