Quick way to count lines of code 17th Feb, 2011 | unix Following unix snippet counts lines of code in the current directory. wc -l `find . -iname "*.php"`