Lurker News
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.

Comments (385) 158 threads

Earlier comments
bjoli3 replies#
Does anyone not working on million-line codebase ever find themselves limited by grep? I am genuinely curious.
informatimago#
Do you mean more or less than 1M LOC?

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.

CJKerr#
Unfortunately, I work on a million-line codebase.

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.

msmart#
Haven't seen Hledger [http://hledger.org/] in the recommendations. It is a great accounting tool!
ryannevius3 replies#
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.
yesenadam#
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.

[0] http://www.adamponting.com/mac-terminal/

pjungwir#
I don't know about interactive, but the book Unix Power Tools is a great survey, with quite a lot of depth.

If you want something interactive as you work through the book (and even CLI itself), it would be hard to beat bash. ;-)

ronancremin#
I can't believe nobody has mentioned VisiData. It's like Vim, but for structured data.

https://VisiData.org

Load more comments