Live data from Hacker News

Ask HN: What are your favorite terminal programs?

news.ycombinator.com

71–80 of 203 posts

Re: Ask HN: What are your favorite terminal programs?

#73
Ever since I learned that USENET was still a thing for a current area of interest:

slrn http://slrn.sourceforge.net/ for reading newsgroups

My old fave (which I didn't even remember the name of) was

nn http://www.nndev.org/

... which had too steep a (re)learning curve for reading just the one newsgroup.

Re: Ask HN: What are your favorite terminal programs?

#74
Linux has hundreds of them, in the various bin directories. Many are interesting.

This shell snippet lists all the directories in $PATH, using less, so you can page through them:

  for dir in `echo $PATH | sed 's/:/ /g'`
  do
      echo Listing dir: $dir
      ls -l $dir | nl
  done | less
I came across the watch command recently, which seems useful, and wrote something like it in Python:

A Python version of the Linux watch command:

https://jugad2.blogspot.in/2018/05/a-python-version-of-linux...

I've also been writing Python versions of some other Linux commands, and will post about them here some time later.

Also, for saving (and then viewing) man pages (about commands or other topics), without the formatting characters (such as ^H), on some Linux distros, I find this useful:

m, a Unix shell utility to save cleaned-up man pages as text:

https://jugad2.blogspot.in/2017/03/m-unix-shell-utility-to-s...

Re: Ask HN: What are your favorite terminal programs?

#75

Some of them that I can't live without are - git-standup http://github.com/kamranahmedse/git-standup - z https://github.com/rupa/z - ZSH https://github.com/robbyrussell/oh-my-zsh Apart from that, some that I use time to time - curl-size https://github.com/egoist/curl-size - ripgrep https://github.com/BurntSushi/ripgrep - jq https://github.com/stedolan/jq - asciinema https://github.com/asciinema/asciinema

git-standup seems cool, but misses the one thing I would want from it: show me the commits I've made from each repo that I work in, sorted by time. That way I can see that I made commit 1 in repo X, then commit 2 in repo Y, then commit 3 in repo X. Also instead of "-d 4" to see 4 days ago, "January 15th" or "Thursday" would be handy.

Re: Ask HN: What are your favorite terminal programs?

#77

Emacs. Just ensure you're running a 256-bit color terminal emulator, and for most uses it doesn't even differ that much from the GUI version. Recently I've been doing a lot of work by SSH-ing to my desktop machine from a small netbook and using the terminal Emacs client. If you run Emacs in server mode, the transition is so smooth that at this point, I don't bother getting out of bed if I need to work on something la…

If you don't have a reason to use Emacs from the terminal emulator, use the GUI. And for SSH, it's very hard to reject Tramp. One must is to make it less verbose though: (setq tramp-verbose 1). Then it becomes faster (at least in my perception) and way less noisy.

Re: Ask HN: What are your favorite terminal programs?

#78
post #36

Written in Rust: - fd: A simple, fast and user-friendly alternative to 'find' https://github.com/sharkdp/fd - ripgrep: ripgrep recursively searches directories for a regex pattern https://github.com/BurntSushi/ripgrep - exa: Replacement for 'ls' written in Rust https://github.com/ogham/exa - bat: A 'cat' replacement. I recommend following the customizations. https://github.com/sharkdp/bat Written in Python: - asciine…

Httpie is really pleasant to use

Re: Ask HN: What are your favorite terminal programs?

#80
post #36

Written in Rust: - fd: A simple, fast and user-friendly alternative to 'find' https://github.com/sharkdp/fd - ripgrep: ripgrep recursively searches directories for a regex pattern https://github.com/BurntSushi/ripgrep - exa: Replacement for 'ls' written in Rust https://github.com/ogham/exa - bat: A 'cat' replacement. I recommend following the customizations. https://github.com/sharkdp/bat Written in Python: - asciine…

https://github.com/BurntSushi/xsv is a must if you do anything with CSV.
Post reply on HN