grep -r
Search recursively through all files in a directory
grep -r searches every file in a directory tree. grep -r 'password' /etc/ searches all of /etc/. Add --include='*.conf' to limit to specific file types.
Example
$ grep -r 'ssl_certificate' /etc/nginx/
/etc/nginx/sites-enabled/app: ssl_certificate /etc/nginx/ssl/app.crt;
Tip: Type it yourself in the terminal below - reading is not the same as doing.