grep command syntax for the directory code example
Example 1: grep in folder
grep -nr 'yourString*' .
Example 2: ubuntu grep text in files
grep -r "mydomain.com" /etc/apache2/
grep -nr 'yourString*' .
grep -r "mydomain.com" /etc/apache2/