search file content bash code example
Example 1: bash find text in specific file
find <your directory path> -name "*.file_type" -type f | xargs grep "word"
Example 2: bash find term in files
grep "some string" . -R
find <your directory path> -name "*.file_type" -type f | xargs grep "word"
grep "some string" . -R