by @saigowthamr

How to count all lines of code in a directory Bash

Home » bash » How to count all lines of code in a directory Bash

The following command is used to count the number of lines of code in a specified directory and its subdirectories.

find . -name '*.html' | xargs wc -l