in reply to Re: Re: how to get total numbers of files in a directory?
in thread how to get total numbers of files in a directory?

to avoid ls wildness and to get a true listing of all files ( some versions of ls, like hp-ux, put multiple files on one line ) do ls -ald /home/a/*.txt | wc -l And Find is also your Friend.
  • Comment on Re: Re: Re: how to get total numbers of files in a directory?