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…
Ask HN: Best Command-Line Applications?
201–210 of 393 posts
Re: Ask HN: Best Command-Line Applications?
#202If 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
You open tmux on your desktop, open some command line things, then walk away and pull out your laptop or desktop, SSH to your computer, "tmux attach" and have the same session open - and it's open on both devices, both seeing the same updates at the same time, like a terminal-vnc.
And you can variously use them to allow two separate users to share the same session, either one controlling and others read-only, or multiple-editing ( https://unix.stackexchange.com/questions/2523/what-are-other... )
Re: Ask HN: Best Command-Line Applications?
#203just run `npm install -g diff2html-cli` and `diff2html`
I recommend this alias `alias diff='diff2html -s side'`
Re: Ask HN: Best Command-Line Applications?
#204Earlier 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.
Re: Ask HN: Best Command-Line Applications?
#205Re: Ask HN: Best Command-Line Applications?
#206sadly the creator hasn't been able to work on it since the last funding campaign failed, but he is preparing a new campaign just now: https://groups.google.com/forum/#!topic/xiki/Dvzo14Lhoyg
greetings, eMBee.
Re: Ask HN: Best Command-Line Applications?
#207I am getting fonder and fonder of xargs. It basically reads some input and appends it to a pre-supplied string. Then executes the newly created string as a command. Trivial example: ls -1 | xargs -L1 echo processing I am finding it quite useful to load and delete a bunch of netapp volume snapshots in a single line: ssh netappuser@netapphost volume snapshot show $volname | awk '/selector_pattern/{print $1}' | xargs -L…
With xargs (and find), I wish I would've found this sooner: find test -print0 | xargs -0 file "This allows file names that contain newlines or other types of white space to be correctly interpreted by programs that process the find output. This option corresponds to the -0 option of xargs."
# remove files without spawning lots of rm processes
find . -name "*.xyz" -print0 -type f| perl -0 -ne 'chomp;print "$_\n";unlink;'Re: Ask HN: Best Command-Line Applications?
#208youtube_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…
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…
Re: Ask HN: Best Command-Line Applications?
#209Tmux: 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/