Matches patterns in input text. Supports simple patterns and regular expressions.
grep {{search_string}} {{path/to/file}}
grep -i {{search_string}} {{path/to/file}}
grep -rI {{search_string}} .
?
, +
, {}
, ()
and |
):grep -E {{^regex$}} {{path/to/file}}
grep -{{C|B|A}} 3 {{search_string}} {{path/to/file}}
grep -Hn {{search_string}} {{path/to/file}}
cat {{path/to/file}} | grep {{search_string}}
grep -v {{search_string}}