# Count number of files in a directory ls -l | grep -v '^total' | wc -l