But learning find is definedly worth it as well :).ls /home/a/*.txt |wc -l
In reply to Re: Re: how to get total numbers of files in a directory?
by Hena
in thread how to get total numbers of files in a directory?
by hweefarn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |