You need to search for a string (e.g., “error”) in a log file, and you want to do it caseinsensitively to catch all occurrences.
A case-isensitive search finds messages written “ERROR”, “error”, “Error,” as well as ones like “ErrOR” and “eRrOr.” This option is particularly useful for finding words anywhere that you might have mixed-case text, including words that might be capitalized at the beginning of a sentence or email addresses.
man grep
man regex (Linux, Solaris, HP-UX) or man re_format (BSD, Mac) for the details of your regular expression library
Mastering Regular Expressions by Jeffrey E. F. Friedl (O’Reilly)
Chapter 9’s
discussion of the find command and its -iname
option
18.191.181.231