Matches patterns in input text. Supports simple patterns and regular expressions.
grep {{something}} {{file_path}}
grep -i {{something}} {{path/to/file}}
grep -r {{something}} .
-E
for extended regex, supporting ?
, +
, {}
, ()
and |
):grep -e {{^regex$}} {{path/to/file}}
grep -C 3 {{something}} {{path/to/file}}
grep -c {{something}} {{path/to/file}}
grep -n {{something}} {{path/to/file}}
cat {{path/to/file}} | grep {{something}}
grep -v {{something}}