ubuntu grep string in files code example
Example 1: ubuntu grep text in files
grep -r "mydomain.com" /etc/apache2/
Example 2: shell find string in directory
grep -R "string_to_search" *
grep -r "mydomain.com" /etc/apache2/
grep -R "string_to_search" *