• 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle
  • mark@feddit.uktoLinux@lemmy.mlBeginner's Guide to `grep`
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 years ago

    If you are serious about working in a terminal, then I highly recommend learning modern replacements for the old tools.

    In this case ripgrep (or rg) https://github.com/BurntSushi/ripgrep is phenomenal. Especially for searching recursively in a large directory tree it is unbelievably quicker than regular grep.

    It won’t be installed on any random machine, so grep is still useful, but if you regularly need to text search in files then there are better tools.