Recursively find patterns in files using regular expressions. Equivalent to
grep -r
. More information: https://www.gnu.org/software/grep/manual/grep.html.
rgrep "search_pattern"
rgrep --ignore-case "search_pattern"
?
, +
, {}
, ()
and |
) in the current working directory:rgrep --extended-regexp "search_pattern"
rgrep --fixed-strings "exact_string"
rgrep "search_pattern" path/to/file_or_directory