Finding text patterns in a given file is somewhat easy but what if you just quickly wanted to find all files that have a given text pattern?
This can easily be accomplished using this grep command:
grep -rnw "/path/to/given/files/" -e "<pattern-you-are-searching-for>