grep -i
Search case-insensitively
grep -i ignores case and matches ERROR, Error, error, and ErRoR. Combine with -r for recursive case-insensitive search.
Example
$ grep -i 'error' app.log | wc -l
147
Tip: Type it yourself in the terminal below - reading is not the same as doing.