grep -r "mydomain.com" /etc/apache2/ # -r - recursive # in current directory use "." grep -r "mydomain.com" .