find ./ -name \*.js | xargs wc
[find] [in this current directory] [files named] ["wildcard".js] [and] [just print counts]
The first column is the number of lines for the listed file, with the total count at the bottom. As you can tell, I’m working on a JavaScript project.