print how many lines of code in a project recursively
# where .py is the extention to search on
( find ./ -name '*.py' -print0 | xargs -0 cat ) | wc -l
# also,
wc -l **/*rb
# also, this counts every line of every file
grep '' -R . | wc -l
# wc will print the number of lines in a file or multiple files
wc -l app/controllers/*.rb