archive

Linux: Count the Number of Lines

( find ./ -name '*.php' -print0 | xargs -0 cat ) | wc -l

Count’s the number of lines in any PHP files of a directory and it’s subdirectories. Via.

Comments are closed.