Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

131–140 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#132
post #92

I became addicted to these great tools all written in Rust: fselect - https://github.com/jhspetersson/fselect ripgrep - https://github.com/BurntSushi/ripgrep exa - https://the.exa.website They are the replacements for traditional find, grep, and ls.

I suspect you'd also enjoy fd - https://github.com/sharkdp/fd

Re: Ask HN: Best Command-Line Applications?

#133

For sysadmin needs: - htop (better top) - nload (network traffic visualization) - nano (I know, but works great for simple editing) - curl (http everything tool) - telnet/nc (check listening ports)

I hate that nano is so looked down on. I use it too and it's a great tool. I don't feel any shame using it.

Re: Ask HN: Best Command-Line Applications?

#134
post #122

Earlier quoted context omitted.

I keep a VPS running with Nginx on it for a specific port. Then I forward that port via SSH using remote forwarding to enable this exact functionality. It's free if you've already got a server running.

ngrok is free even if you don't have a server running... and you can tunnel raw TCP. (not affiliated, I just really admire ngrok so I take it personally when people don't use it :))

god, I had this same idea and thought about making it! I'm so glad you shared this, I had no idea someone else already did it! and did a great job with it, too, by the looks of it

Re: Ask HN: Best Command-Line Applications?

#135
I wonder if there's any 2FA code storing/generating cli application? I know they aren't supposed to be used like that but storing them all on just a phone doesn't seem wise in the long run. Might be useful while building some automated scripts as well.

_edit_

oathtool seems promising (needs to be paired with something to manage and crypt the keys tho) http://www.nongnu.org/oath-toolkit/oathtool.1.html

Re: Ask HN: Best Command-Line Applications?

#136
post #72
post #25

Earlier quoted context omitted.

I use git so much that I made these aliases in zsh: alias g="git show" alias gh="git show HEAD" alias gs="git status" alias gl="git log" alias gco="git checkout" alias gd="git diff" alias gbl="git branch -v" alias gbd="git branch -D" alias gri="git rebase --interactive" alias grc="git rebase --continue" alias gra="git rebase --abort" alias gst="git stash" alias gsta="git stash apply" alias gx="gco -- \*; git reset HE…

nice ones! couple from my bash_alias alias ..="cd .." alias ..2="cd ../.." # ... you get the idea, mine goes up to 5 function mkcd () { mkdir -p "$@" && eval cd "\"\$$#\""; } alias h="history|grep"

Instead of your `..` aliases, I have this, which saves some copy-pasting.

    function up() { cd "$(printf '../'%.0s $(seq 1 "${1:-1}"))" && pwd; } #up 4 goes up 4 directories

Re: Ask HN: Best Command-Line Applications?

#137
subliminal: https://github.com/Diaoul/subliminal

great tool for downloading subtitles, sadly it seems unmaintained and sometimes fails to work

rtorrent: https://github.com/rakshasa/rtorrent

my preferred way to download ISOs of Linux distributions

And a +1 for some that were already mentioned: tig, ripgrep, htop, midnight commander

Re: Ask HN: Best Command-Line Applications?

#138
post #23

rg (ripgrep): https://github.com/BurntSushi/ripgrep I used to use ag (the silver searcher) [1] before, and `ag` was practically a muscle memory to me, but then I came across ripgrep and it was so much faster. I've now installed a static binary of ripgrep in every machine I have SSH access to. [1] https://github.com/ggreer/the_silver_searcher

The first time i use it, I was in shock about how fast ripgrep is. Amazing.
Post reply on HN