See how to use grep to find what you’re looking for inside files:
grep is case sensitive by default use -i to turn this off:
$ grep -i pattern fileSearch recursively into a folder:
$ grep pattern -r folderDisplay 5 lines after/before each match:
$ grep -C 5 pattern fileFilter out a pattern:
grep -v pattern fileOnly count pattern occurrences:
$ grep -c pattern fileOnly list the files containing the pattern:
$ grep -l pattern file