grep -l in all files and folders code example
Example 1: grep in all files
grep -rni "string" *
Example 2: grep in multiple files
grep -E 'fatal|error|critical|failure|warning|' *.log
grep -rni "string" *
grep -E 'fatal|error|critical|failure|warning|' *.log