Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

291–300 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#291
post #277
post #195

Just about every Rust cli app written by sharkdp: https://github.com/sharkdp/fd https://github.com/sharkdp/bat https://github.com/sharkdp/diskus https://github.com/sharkdp/hyperfine For viewing csv's as tabular, paged data from the terminal, check out VisiData (python) https://github.com/saulpw/visidata

I might be revealing my lack of experience here, but why would you need an app to view your csv? What is the benefit of this over running the data frame or df.head?

Visidata is much more than a simple CSV viewer. It can open xls/xlsx/sas7bdat/spss files, and allows you to quickly edit the in-memory copy of the table using Vim-like keyboard shortcuts. It also allows you to create plots using Braille Unicode symbols. It's a great tool!

Re: Ask HN: Best Command-Line Applications?

#292
post #195

Just about every Rust cli app written by sharkdp: https://github.com/sharkdp/fd https://github.com/sharkdp/bat https://github.com/sharkdp/diskus https://github.com/sharkdp/hyperfine For viewing csv's as tabular, paged data from the terminal, check out VisiData (python) https://github.com/saulpw/visidata

| For viewing csv's as tabular I use peco for this https://github.com/peco/peco , thanks for sharkdp checking those out.

How are you using peco to view csv's?

Re: Ask HN: Best Command-Line Applications?

#294

youtube_dl an ffmpeg would be my top two in terms of power. Here are my top commands by frequency of use: 4421 git 952 open 936 vim 908 cd 603 ls 566 grep 533 cp 429 rm 414 mv 250 atom 247 pip 233 mkdir 223 fab 163 docker 130 touch 128 find 123 youtube-dl 113 python 103 ssh 100 cat 99 wget 81 pytest 75 brew total is of ~16k history lines... this means one in ever 4 commands I type is git! Wow I didn't know that. Prob…

gitsh - https://github.com/thoughtbot/gitsh Since git is by far the command a lot of people type the most, this shell comes in really handy. It supports all regular git aliases, has autocompletion, and you can set default commands to be run when you just press return. It's amazing how much typing it saves.

+1 to Gitsh. Feels like it saves a massive amount of typing.

Re: Ask HN: Best Command-Line Applications?

#295
post #242

Earlier quoted context omitted.

is it like less?

Um; I feel it's kinda as if you asked if a dog is like rhinoceros... How do I even answer that? Simplest answer is: "no, it's not"; though if you squint your eyes super hard, you could see some kind of vague resemblance, maybe? Have you seen the readme? There's an animated gif showing how it works, and a more detailed description.

Yeah, have you seen the readme?

> interactively and incrementally explore textual data

Just like less.

> This is achieved by boosting any typical Linux text-processing utils such as grep, sort, cut, paste, awk, wc, perl, etc., etc., by providing a quick, interactive, scrollable preview of their results.

Yep, that's less.

> use PgUp/PgDn and Ctrl-[←]/Ctrl-[→] for basic browsing through the command output;

Sure that's not like less? You can even start searching results of a high output command immediately after the pipe.

Apparently dogs aren't that different?

Re: Ask HN: Best Command-Line Applications?

#296
post #167

Earlier quoted context omitted.

Mutt is great, but if you want to use a "real" programming language to configure your client you might enjoy my alternative: https://lumail.org/ https://github.com/lumail/lumail/

it's nice to see new approaches to email in a terminal. how about integration with notmuch? greetings, eMBee.

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.

Re: Ask HN: Best Command-Line Applications?

#297
post #222

Earlier quoted context omitted.

I don't believe that's true. TUI has more in common with GUI than CLI.

sure, conceptually it does, but that's not the point. what matters for most is the fact that i can run the application in a text only terminal, on any machine (remote or local), from any device (be it linux, windows, mac or even a mobile phone (ok, that's rarely practical, but it's possible)) a GUI does not offer that advantage. greetings, eMBee.

> what matters for most is the fact that i can run the application in a text only terminal, on any machine (remote or local), from any device (be it linux, windows, mac or even a mobile phone (ok, that's rarely practical, but it's possible))

> a GUI does not offer that advantage

Sure, not in the terminal, but X forwarding is a thing and works on every system I've had to use it on.

Re: Ask HN: Best Command-Line Applications?

#298

Earlier quoted context omitted.

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?

The bass plugin[1] works well.

[1] https://github.com/edc/bass

Re: Ask HN: Best Command-Line Applications?

#299

For working on servers, tmux + mosh is a killer combination: mosh makes your connection resilient to network issues and tmux gives you (back) scrollback and cross-session persistence. mutt is hard to beat as an email client and circe (an emacs package) + znc on a digital ocean instance or equivalent makes for a great persistent irc session.

Another vote for tmux + mosh combo.

Re: Ask HN: Best Command-Line Applications?

#300
post #274

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…

Finally, someone who posted socat. Endlessly useful for doing a mitm of a connection for debugging. Paired with tpcdump, you can view _anything_

Ahh, socat, the zombo.com of the networking world.

Takes a log time to digest the man page, but once you have you can do anything.

Post reply on HN