Friday, April 27, 2012

How to count the number of files in a given directory in Unix

ls -f | wc -l