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