how to count all lines of code of a folder code example Example: check lines of code in a folder find . -name '*.[FileExtention]' | xargs wc -l