grep text in files code example
Example 1: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 2: linux search for line in file
grep -R "keyword" /directory/
Example 3: ubuntu grep text in files
grep -r "mydomain.com" /etc/apache2/
Example 4: bash find term in files
grep "some string" . -R