Grep Options

Options:


-i: Ignore case

-l: List file names only if there is a match

-w: Treat pattern as a standalone word (cannot be embedded)

-c: Report count of lines with a match (not total number of matches)

-n: Report line numbers when listing matches