Created
August 27, 2020 10:27
-
-
Save christianb/666665c33223c70e29d492c0756371e2 to your computer and use it in GitHub Desktop.
Show number of occurence of a string within files in directory
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
# number of @Test in all files in this directory | |
grep -o -r "@Test" . | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment