Console wizardry

Associate
Joined
22 Sep 2009
Posts
2,085
Location
Leicester
I'm trying to figure out how to recursively scan folders (from the current working directory) and list the number of lines in all the source code files, so far I have:

wc -l *.c *.h *.asm *.ld makefile *.sh

I tried piping from find instead but I ended up confusing myself all the more :rolleyes: Anyone fancy pointing me in the right direction?

Also, is there a decent idiots guide/cheat sheet to everyday Linux commands? I learn what I need and then seem to forget it when I'm done...
 
Back
Top Bottom