3

Is there any way to count the total number of lines inside a php project?

asked May 11, 2011 at 6:52

1 Answer 1

5

In Linux you have the wonderful 'wc' command:

wc -l yourfile.txt
answered May 11, 2011 at 7:01
Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, for pointing me out the solution. Using wc -l + `find . -name \* -print` you can get the total number of lines of all files inside a folder

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.