Finding occurances of a string within a given input. grep <pattern> <input> grep -rl "string" <directory> Recursively search through all files for matches of a specific string.