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.
Sort of on topic...Does anyone know of a good interactive resource for learning some of the tools that are included by default on UNIX systems? RTFM is useful, of course.
Not sure what you mean interactive - trying things out on bash itself is a good way to learn. I put together a (quite long) single-webpage not-so-quick guide to bash shell,[0] which covers a lot of the basic stuff (well, with separate pages for grep/sed and AWK), at the bottom of the page are links to the best bash websites and names of the best books that I've found. Hope that's of some use. But yeah, the man pages become perfectly adequate guides/refreshers once you've learnt the basics of a command/tool - especially using them with "/" for searching for what you want.
Comments (385) 158 threads
Earlier commentshttps://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.
[0] http://www.adamponting.com/mac-terminal/
If you want something interactive as you work through the book (and even CLI itself), it would be hard to beat bash. ;-)
https://www.codecademy.com/learn/learn-the-command-line
greetings, eMBee.
https://VisiData.org
All comments shown.
Couldn't load more comments. Check your connection and try again.