Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

141–150 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#142
post #40

My top 4: 40.2% ls 22.8% cd 15.6% python 3.6% nano Since no one's mentioned it yet: I don't necessarily think nano is great, but it's always there and it opens immediately. Almost all small, quick edits I make (where opening VSCode/Emacs/whatever doesn't make sense) are done in nano. Pretty useful.

nano is not on many of the systems i deal with - vi is.

Re: Ask HN: Best Command-Line Applications?

#143
post #3

A few of the ones I use almost daily - Pandoc a handy document format converter: https://pandoc.org/ - Ripgrep, a faster grep: https://github.com/BurntSushi/ripgrep - There are quite a few prompt-toolkit based CLI which have been really nice: * mycli ( https://github.com/dbcli/mycli ), pgcli ( https://github.com/dbcli/pgcli ) * ptpython/ptipython ( https://github.com/prompt-toolkit/ptpython ) - Youtube-dl: http://rg3…

ptpython seems really useful, thank you! I was frustrated with the limited capabilities of the vanilla python REPL.

Re: Ask HN: Best Command-Line Applications?

#144
post #45

Earlier quoted context omitted.

Like so? % echo 'one\ntwo\nthree' | sed -e 's,$, four,' one four two four three four

No, like this: > echo ‘one\ntwo\nthree’ | tr \n \| one|two|three

echo -e 'one\ntwo\nthree' | sed -ze 's/\n/|/g'

Re: Ask HN: Best Command-Line Applications?

#145

I use the following (in no particular order) -- definitely nothing fancy. * weechat * ffmpeg * youtube-dl * zsh * watchman ( https://facebook.github.io/watchman ) * megadl (rarely, but its a handy tool when you need it) * brew (on my mac) * mountsshfs (on my mac) --- I moved away from orgmode and have been using it in VS since I have it open anyway. It covers me. I also want to start using Mutt or something similar.…

This doesn't look to take commands after a pipe into account so IMHO doesn't accurately reflect command usage. For example running above I was surprised awk wasn't in the list but when I went to investigate I found I almost always am piping something to awk.

Re: Ask HN: Best Command-Line Applications?

#148

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

https://github.com/rsc/2fa
Post reply on HN