Command Line Question

Cyberclops Cyberclops at hawaii.rr.com
Thu Apr 26 15:45:03 PDT 2001


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')



More information about the LUAU mailing list