Thursday, December 15, 2011

How to count the number of files in a directory:

ls -l . | egrep -c '^-'

No comments:

Post a Comment