One of the many reasons why I love working in a *nix environment is how easy it is to get what you want. For example, as I am reaching the end of my first android application I was in need to find out how many lines of code the whole project consisted of. I knew that I could use the wc utility along with the find function to find all files with the java extension. Anyhow, below is the single line of code that I executed on the command line to get the desired results:
And got the following result:
If you want to sort the results by the number of lines, you can type use the sort utility.