Well, you could also do `find /tmp -type f | wc -l`, but I think that backticks are evil. Ah, and we also could free our minds from Perl and write some nasty bash script code :-P.
Igor 'izut' Sutton
your code, your rules.
In reply to Re^3: quickest way to find number of files in a directory?
by izut
in thread quickest way to find number of files in a directory?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |