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 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...
wc -l *.c *.h *.asm *.ld makefile *.sh
I tried piping from find instead but I ended up confusing myself all the more 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...