grep for a string in directory code example Example: ubuntu grep text in files grep -r "mydomain.com" /etc/apache2/