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

help-circle
  • mark@feddit.uktoLinux@lemmy.mlBeginner's Guide to `grep`
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year 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.