command to count the number of lines in a file code example Example: count lines in files find . -name '*.php' | xargs wc -l