grep word in files code example
Example 1: bash find all files containing string
grep -r '/path/to/somewhere/' -e 'pattern'
Example 2: ubuntu grep text in files
grep -r "mydomain.com" /etc/apache2/
grep -r '/path/to/somewhere/' -e 'pattern'
grep -r "mydomain.com" /etc/apache2/