Finding Text: grep

grep prints every line that contains a word or phrase, in one file, in many files or in a whole folder, and its options ignore capitals, number the lines, list only the files that match, count the matches or show the lines that don't match.

Updated

Cheat sheet for the lesson Finding Text: grep: grep prints every line that contains a word or phrase, in one file, in many files or in a whole folder, and its options ignore capitals, number the lines, list only the files that match, count the matches or show the lines that don't match.
Category
Bash
Level
Apprentice
Tags
case-sensitivity, flags-and-options, grep, linux, log-file, unix