How to count LOC on a project in Linux

Added about 2 years ago by dave Vote >> (0) Up | Down | Flag

When you want to count lines of code just pop open your command prompt, navigate to your project directory and paste this snippet. You'll need to adjust for file extensions (this one is for php).
find . -name '*.php' | xargs wc -l

Anonymous comments not allowed. Please login or create an account to leave a comment.

0 Comments