Created
November 6, 2022 00:27
-
-
Save matiasmicheletto/9577782ef4e6d4c6fa6dfe579875190e to your computer and use it in GitHub Desktop.
Count the lines of code in a software project using linux bash command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recursively count the total number of lines of code in .js and .jsx files found in a directory. | |
find . -name '*.js' -o -name '*.jsx' | xargs wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment