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
mdip1 reply#
There are so many to list that I'll skip the more obvious ones (they're well represented in the comments) and pick a few that I've been enjoying a lot lately:

Netflix-Skunkworks/go-jira[0] - Jira interface written in Go that is incredibly flexible.
bat[1] - cat with code highlighting
climate[2] - Shell swiss-army knife of tools
That last one deserves a post on its own. It's certainly not the most portable thing -- requiring that certain binaries be available for some of its functions, but it works as-is for the Linux distributions that I run and provide simple commands for getting information about things that isn't always trivial to remember (such as getting an external IP address of a host from the command-line). Silly things like remembering the CLI options for 'du' (along with the necessary '| sort ... | head -5') are replaced by 'climate biggest-files'. It replaces a mess of tools, but does so, often, by simply calling those tools with the "correct" parameters that I've forgotten.
Yes, a well authored set of aliases for the most common commands would do the same thing, but I end up using 'climate' in cases where the information I need is something I rarely need for a given task and getting that information is going to be a non-obvious exercise involving a few pipes. It's a "kitchen sink" utility with a set of commands that, for the most part, you'd find a hard time grouping them into a single theme -- a command for getting the current weather (after all, it is named climate) next to one to download all files on a web page, next to one to get disk usage stats in a variety of ways. Normally, I don't like tools like this, but this one lands as a big exception to that rule for me.
[0] https://github.com/Netflix-Skunkworks/go-jira
[1] https://github.com/sharkdp/bat
[2] https://github.com/adtac/climate

Aweorih2 replies#
> such as getting an external IP address of a host from the command-line.

What about using `ping host`? This also prints the ip

sfdgsdfg#
or "dig host" for a proper dns lookup
mdip#
Ah, sorry, I wasn't clear in my statement:

A function that it provides is to display the public IP address from a host behind the NAT.
Another way to do this: `dig @resolver1.opendns.com ANY myip.opendns.com +short`[0] ... it's just trickier to remember. And since dig is a tool for performing DNS lookups, `man dig` doesn't hint at this particular trick.
In fact, I didn't actually remember the command that displays that for `climate`[1], because if I had, I would have written it as `public-ip`, which `climate help` informed me of. :)
[0] ... or if you prefer a more interactive and profane experience, try `lynx wtfismyip.com`
[1] My public IP is displayed on terminal start since I need it with some frequency; Of course, it's displayed as "External IP:", which is something I'll have to remedy.

em-bee1 reply#
it's nice to see new approaches to email in a terminal. how about integration with notmuch?

greetings, eMBee.

stevekemp1 reply#
I think the people that enjoy notmuch would probably prefer to stick with what they know.

If I were to use their query-based API, and just be a UI on it, then that'd be an almost complete rewrite.

Continue this thread — 1 reply

scrollaway#
httpie is the nonstandard command I use the most I think (https://httpie.org/). Syntax highlighting for everything that comes down the pipe is pretty awesome. I'm also a sucker for bat (https://github.com/sharkdp/bat) which I just found out about through this thread.

My zshrc includes a bunch of commands you might like, btw: https://github.com/jleclanche/dotfiles
Among them, the ones I use the most are `json` and `yaml` for pretty printing both formats, as well as `urlencode` / `urldecode` / `urlarray` which I recently added.

Load more comments