Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx> writes:
> __/ [ Rita ] on Tuesday 14 March 2006 19:46 \__
>
>> Hi ,
>> Is there any command in linux to know how many files are in directory?
>> Thanks
>
> alias nfiles='find . -type f | wc -l'
This will give the number of files not only in the present
directory, but in all directories under.
Rita, is this what you want? Or are you interested in only the
present directory? And hat about other objects like directories?
Should they be included too?
Vilmos
|
|