If you aren't using tmux or screen, you probably should be, especially over SSH sessions. They allow you to have multiple consoles open and switch between them, split window, and disconnect from SSH and then reconnect with all your things still open and running (as long as the server stayed running).
As someone who hasn't invested much time into tmux/screen, what are the benefits of it over just using eg; multiple terminal tabsn or using the terminal's built in split windowing? I'm sure there's probably a benefit but I dunno what it is
Ask HN: Best Command-Line Applications?
221–230 of 393 posts
Re: Ask HN: Best Command-Line Applications?
#222Earlier quoted context omitted.
that's a fair point, but i don't think that's what the OP meant. CLI is commonly used to cover TUI when pittet against GUI. greetings, eMBee.
I don't believe that's true. TUI has more in common with GUI than CLI.
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.
Re: Ask HN: Best Command-Line Applications?
#223Earlier 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.
grep is usable on very large code bases, because after the first scan, all the sources are loaded in the file system cache, so the successive grep are done in RAM and are very fast.
So much so that I almost never use ctags despite the improved semantic search (you can find more easily the exact identifiers and distinguish them by category). grep is just as fast and precise enough.
Re: Ask HN: Best Command-Line Applications?
#224Re: Ask HN: Best Command-Line Applications?
#225Tmux: https://github.com/tmux/tmux/ fish-shell: https://github.com/fish-shell/fish-shell/ ranger: https://github.com/ranger/ranger/ tig: https://github.com/jonas/tig/ ag or rg: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep And all my configurations, especially for fish-shell: http://github.com/c02y/dotfiles
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/
I still use fish for scripting as its syntax is far more casual looking.
Re: Ask HN: Best Command-Line Applications?
#226Re: Ask HN: Best Command-Line Applications?
#227A 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…
Wow. mycli and pgcli are so good!
Re: Ask HN: Best Command-Line Applications?
#228Nice 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.
for your own personal domain, either use a service that supports personalization. (gmail does, but there should be others) and you are covered again.
if you want to host your own mail server, then you'll probably want to run your own spam filter on that server. it works by having the mail server forward the mail to the filter (which can be local or remote) and then deal with the mail based on the response from the service.
greetings, eMBee.
Re: Ask HN: Best Command-Line Applications?
#229up - https://github.com/akavel/up Ultimate Plumber is a tool for writing Linux pipes with instant live preview It's a new CLI tool I've recently written, and it reached a Top 1 position on HN just after the public release. It works with other classic CLI tools by boosting the speed with which they can be composed together. It's especially useful for quick exploration of logs, CSV files, and other text files or pipeli…