find text in files bash code example
Example 1: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 2: bash find text in specific file
find <your directory path> -name "*.file_type" -type f | xargs grep "word"