how to grep text in a file in linux code example Example: ubuntu grep text in files grep -r "mydomain.com" /etc/apache2/