lets clear up the output by excluding the entries with word backup in them so output for grep -rn 'domain.org' /usr/local/nginx/conf | grep -v 'backup'