Noobfarm

Home Add Quote


#230
Added: 2007-09-26

<macka> ello
<macka> simple question... I'd like to count the amount of files in a directory. Normally I pipe an ls to wc and get it that way, but that can't be used in all circumstances:
<macka> admin@web2:/home/ecom/tmp> ls auth* | wc
<macka> -bash: /bin/ls: Argument list too long