Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

211–220 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#211
post #187

I've been digging ncdu recently, which is basically a du replacement: https://dev.yorhel.nl/ncdu

Not as nice as ncdu, but if you have to work with what's already installed:

du -k --max-depth=2 * | sort -rn | head

Ymmv, but playing around with max-depth is usually enough to find the culprit for me.

Re: Ask HN: Best Command-Line Applications?

#213

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.

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. ;-)

Re: Ask HN: Best Command-Line Applications?

#214

Scoop - https://scoop.sh It's basically apt/brew on Windows, but it's particularly awesome because it does not manage dependencies. It just downloads and extracts installers, which works because every self-respecting program that works on Windows distributes binaries as an installer (or just a zip) somewhere. Result: everything just works, every program is self-contained, no admin rights needed, no package maintainer…

So far I've been using Chocolatey ( https://chocolatey.org ) for doing this (and ninite though that's not command line). But this looks pretty cool too. Thanks for sharing!

Yeah I used chocolatey for a while too, but I found it needlessly overengineered, and often the abstraction was leaky. Scoop is dumber, in a good way.

Re: Ask HN: Best Command-Line Applications?

#215
> I really enjoy using a command-line interface instead of a graphical user interface

I'm not sure what kind of interface you mean here, but judging by the responses graphical interface in terminal is OK. In that case,

*lazygit https://github.com/jesseduffield/lazygit

first GUI on top of git that I didn't hate. Primarily because it doesn't break the flow in command line. Instead of diff/add/commit I open this, but for the rest I still use git directly (or through aliases).

Re: Ask HN: Best Command-Line Applications?

#216
post #165
post #48

Earlier quoted context omitted.

It's been mentioned previous, but you should check out ripgrep - it's even faster than Silver Searcher a lot of the time https://github.com/BurntSushi/ripgrep

Does anyone not working on million-line codebase ever find themselves limited by grep? I am genuinely curious.

Performance isn't necessarily the only reason that folks use ripgrep. A lot of people like its smart filtering by default. Some don't though. See: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...

Re: Ask HN: Best Command-Line Applications?

#217

Tmux: https://github.com/tmux/tmux/ ts: http://vicerveza.homeunix.net/~viric/soft/ts/ (TaskSpooler) queue commands in different terminals socat: http://www.dest-unreach.org/socat/ -- Multi-purpose relay most: http://www.jedsoft.org/most/ pager more features than less/more sshfs: https://github.com/libfuse/sshfs remote filesystem using SFTP via FUSE passgo: https://github.com/ejcx/passgo Simple golang password manager…

Intrigued by autosub, is it better than Youtube's auto-captions ?

It relies on Google’s translation API in GCP which isn’t free but does have a trial period. I assume YouTube would also rely on this service internally for auto captions.

Re: Ask HN: Best Command-Line Applications?

#219
post #87

Nice question! Here my personal setting: - Email : mutt [ http://www.mutt.org/ ] - Passwords manager : pass [ https://www.passwordstore.org/ ] - Navigate directories : autojump [ https://github.com/wting/autojump ] - Task manager : task [ https://taskwarrior.org/ ] - Music : cmus [ https://cmus.github.io/ ] - Text editor : emacs -nw [ https://www.gnu.org/software/emacs/ ]

Excuse my very basic question, but how do you manage spam when using mutt? Do you interface to a cloud-based service in mutt, or have some kind of other spam filter?

I’ve always liked the idea of moving my email to mutt and using personal domains, but not convinced I could manage spam well.

Re: Ask HN: Best Command-Line Applications?

#220

Earlier quoted context omitted.

I love fish-shell, but after years of using it I switched to Oh My ZSH! . The bash compatibility makes it a whole lot easier to use when you're the type of person who has to look up "how to do X on the command line" on the internet more often than you'd like to admit (that would be me). https://ohmyz.sh/

have you tried https://github.com/oh-my-fish/oh-my-fish ? has been serving me well for years

It's mainly the bash compatibility - does Oh My Fish fix that problem?
Post reply on HN