string search grep code example
Example 1: linux search for line in file
grep -R "keyword" /directory/
Example 2: ubuntu grep text in files
grep -r "mydomain.com" /etc/apache2/
grep -R "keyword" /directory/
grep -r "mydomain.com" /etc/apache2/