Search for regular expressions recursively in the current directory, including hidden files and files listed in .gitignore

rg

  • Ripgrep is a recursive line-oriented CLI search tool.
    Aims to be a faster alternative to `grep`.
    More information: <https://github.com/BurntSushi/ripgrep>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

rg --no-ignore --hidden {{regular_expression}}

click the source code to copy install rg on any operating system with command-not-found.com