I really enjoy using a command-line interface instead of a graphical user interface, and was wondering if anyone had any solid recommendations for applications that one can use in a terminal window.
grep is usable on very large code bases, because after the first scan, all the sources are loaded in the file system cache, so the successive grep are done in RAM and are very fast. So much so that I almost never use ctags despite the improved semantic search (you can find more easily the exact identifiers and distinguish them by category). grep is just as fast and precise enough.
Grep might be fine 99% of the time, but there's no reason to not drop a ripgrep binary on every machine I use regularly. Ripgrep is faster across the board and has better defaults for working in Git repositories. Since I'm working with a large codebase managed in Git, it's a no-brainer.
Comments (385) 158 threads
Show all comments
Showing thread 77 of 158
https://www.tecmint.com/fzf-fuzzy-file-search-from-linux-ter...
----
I use the Silver Searcher all the time. Very fast.
https://github.com/ggreer/the_silver_searcher
----
tig, a text mode interface for git.
https://github.com/jonas/tig
https://github.com/BurntSushi/ripgrep
grep is usable on very large code bases, because after the first scan, all the sources are loaded in the file system cache, so the successive grep are done in RAM and are very fast.
So much so that I almost never use ctags despite the improved semantic search (you can find more easily the exact identifiers and distinguish them by category). grep is just as fast and precise enough.
Grep might be fine 99% of the time, but there's no reason to not drop a ripgrep binary on every machine I use regularly.
Ripgrep is faster across the board and has better defaults for working in Git repositories. Since I'm working with a large codebase managed in Git, it's a no-brainer.