Wednesday, May 21, 2008

shell script count number of files in a directory

ls -l | grep -c "^-.*"

No comments: