Command Line Question

jay jay at musubi.org
Thu Apr 26 15:51:24 PDT 2001


type exactly as below:

find /storage/myfile -type f -print | wc -l



On Thu, 26 Apr 2001, Cyberclops wrote:

> Can you be more specific by putting the commands to actually be typed
> inside of quotes?
>
> For example ~>"ls" /somedirectory
>
> cy at hiscomputer:~ > /storage/myfile -type f -print| wc -l
> bash: /storage/myfile: is a directory
>       0
> cy at hiscomputer:~ > find /myfile -type f -print| wc -l
> find: /myfile: No such file or directory
>       0
> cy at hiscomputer:~ > cd /storage
> cy at hiscomputer:/storage > find /myfile -type f -print| wc -l
> find: /myfile: No such file or directory
>       0
> cy at hiscomputer:/storage >
>
> Chris Wong wrote:
> >
> > On Thu, 26 Apr 2001, Cyberclops wrote:
> >
> > > If I wanted to get a recursive count of the number of files in
> > > particular directory and all its sub-directories, what would I type?
> >
> > find dir -type f -print| wc -l
> >
> > ---
> > You are currently subscribed to luau as: Cyberclops at hawaii.rr.com
> > To unsubscribe send a blank email to $subst('Email.Unsub')
>
> ---
> You are currently subscribed to luau as: jay at musubi.org
> To unsubscribe send a blank email to $subst('Email.Unsub')
>



More information about the LUAU mailing list