Live data from Hacker News

Ask HN: Best Command-Line Applications?

news.ycombinator.com

381–390 of 393 posts

Re: Ask HN: Best Command-Line Applications?

#381
post #369

* fish - essential prerequisite in order to live in the command line * autojump (aka j) - for changing directories quickly * open - required to interact with the non-cli world, ships by default on macOS and here's one for Windows/WSL: https://github.com/neosmart/open * imgpaste - for pasting screenshots into a PNG or JPEG directly ( https://github.com/neosmart/imgpaste ) * pbpaste - for pasting into the shell (or if…

Forget tr/sed, just use `perl -i.original -pe`

On bare-bones unixish systems, you’ll be more likely to find sed/tr than Perl (for me, a clean FreeBSD install).

Re: Ask HN: Best Command-Line Applications?

#382
post #232

Earlier quoted context omitted.

If you want more complete cloud backup, try restic or duplicacy which have encryption, dedup and retention policy. https://github.com/restic/restic https://github.com/gilbertchen/duplicacy

Also, I found borg better than restic since borg also does compression https://github.com/borgbackup/borg

The author is willing to add compression to restic but that was in March and no ETA.

https://github.com/restic/restic/issues/21

Re: Ask HN: Best Command-Line Applications?

#383
here is a list of all tools mentioned in the thread. unfortunately, including descriptions and links made the comment to large, so for now just the names. the number in front is the number of mentions.

links to other lists:

https://beyondgrep.com/feature-comparison/

https://code.kiwi.com/lesser-known-tools-we-love-at-kiwi-com...

https://github.com/agarrharr/awesome-cli-apps#terminal-utili...

https://github.com/alebcay/awesome-shell#applications

https://paste.pound-python.org/raw/Uqc8XTFk73Y3PpbRe9hC/

http://suckless.org/rocks/

https://www.networkworld.com/article/3091139/linux/who-needs...

       2048
       2fa
       abcde
       abook
   [3] ack (ack-grep)
   [5] ag (silver searcher)
       alex
   [2] alpine
   [2] amigamml
       aplay
       archiver
   [4] aria2c
       asciinema
   [2] asdf
       atom
   [2] autojump (aka j)
       autossh
       autosub
   [3] awk
       awless
   [2] bash
       bash-it
       bass
   [5] bat (cat)
       bcal
   [3] bc -l
   [2] beets
       bitlbee
   [3] BorgBackup
   [2] bpython
   [2] brew
       btrfs
       buku
   [2] byobu
       calcurse
       cal
       cat
   [2] cd
       Chocolatey
   [2] climate (shell utility tools)
   [3] cmus
       Coinmon
       colordiff
       column
       comm
       convert
   [2] cowsay
       cp
   [4] curl
       GNU datamash
       ddgr
       ddrescue
       dict
       diff
       diff2html
       direnv
       diskus
       docker
   [2] Doom Emacs
       dosage
       dstat
   [2] dtrx
   [2] duplicacy
       ed
   [2] elinks
   [7] emacs
   [2] entr
   [2] exa
   [2] exiftool
       fab
       Farbfeld Utilities
   [3] fasd
   [5] fd
   [5] ffmpeg
       finch
   [2] find
       findutils
   [8] fish-shell
       frp
       fselect
   [6] fzf
       gawk
  [13] git
       git-annex
       git-annex assistant
       git-bulk-toolkit
       git number
   [3] gitsh
       Git Standup
       glances (top)
       Goaccess
       go-jira
       tuijam
   [2] googler
       gpg
       graphicsmagick
   [2] grc
   [5] grep
       Gron
       gst123
       gzip
       hangups (instant messaging)
       hd -c
       head
       heirloom-mailx
       hledger
       hollywood (tmux UI)
       howdoi
       hr
  [11] htop
   [4] httpie
       hub
       Hugo
       hyperfine
       iftop
   [2] ImageMagick
       imgpaste
       imgp
       import-mailbox-to-gmail
       inotifywait
       Insect (unit converter)
       ip
       irssi + jmp.chat
       iw
       journalctl
   [7] jq
       kakoune
       keysniffer
       keychain
       khal
       khard
       Kubectx
   [2] lazygit
       ledger-cli
       links2
       lnav
       localhost.run
       locate
   [3] ls
   [2] lsof
       lumail
       Ly
       man
       mcabber
       mediainfo
   [2] megadl
       mg
   [4] midnight commander
       Miller (CSV tool)
       mkdir
       mlocate
   [2] mocp
       Moon Buggy (game)
       moreutils
   [3] mosh
   [2] most
       mountsshfs
       mpv
       multitail
   [5] mutt
       mv
   [3] mycli
   [6] nano
   [3] nc
       ncat
   [7] ncdu
       ncmpcpp
       neofetch
       neomutt + notmuch
   [2] neovim
       netcat
       nethogs
       newsboat
   [4] Ngrok
       nload
       nmap
   [3] nnn
       notmuch
       nyancat
       od
       ohmyfish
   [4] ohmyzsh
       oh-my-zsh git plugin
   [2] open
       p7zip
   [2] Pandoc
       GNU parallel
   [5] pass
       passgo
       pass-otp
       paste
       pbedit
       pbpaste
       pdd
       pdfgrep
       peco
       peerflix
   [3] perl
   [3] pgcli
       pgrep
       pianobar
       pine
       ping
       pip
       pipe
       pkill
       playmod
       prettyping
       prezto
       progress
       proselint
       psql
   [2] ptpython/ptipython
   [4] pv
   [2] pwgen
       pytest
   [2] python
       pythonPackages.powerline
       qemu
   [4] ranger
       rclone
       recoll
   [2] remind
   [2] rename
       renameutils
   [2] restic
  [13] rg (ripgrep)
       rm
   [4] rsync
       rtorrent
       rtv
       sage
       Saw (AWS Cloudwatch)
       sc-im
       sclack
       SCM Breeze
   [2] Scoop
   [4] screen
   [4] sed
       serve
       serveo
   [3] shellcheck
       SHPaint
       shuf
   [3] sl
   [4] socat
       solaar
       sort
       sox
   [2] sqlite shell
   [2] ssh
   [3] sshfs
       subliminal
       supmua
       surfraw
       sym
       systemctl
       tabview
       tail
   [2] tar
   [3] Taskwarrior
       tcpdump
       tee
       TeX
   [2] The Fuck
   [6] tig
   [4] tldr
       tmate
  [21] tmux
       todo.txt
       toilet
       top
       totp-cli
       touch
   [2] tr
   [2] tree
       tshark
       ts
       ttp
       ttyclock
       ttysolitaire
       rainbowstream
       unimatrix
       uniq
   [2] units
       up
       vdirsyncer
   [2] vi
       vifm
   [7] vim
   [4] Visidata
       vnstat
       Vue-cli
   [2] w3m
   [6] watch
       watch (python)
       watchman
       wd
       webcomix
   [2] websocketd
       WebTorrent
   [3] weechat
   [2] wee-slack
   [2] wget
       wordgrinder
       wttr
   [2] xargs
       Xdg
       xdotool
       xiki
       xmlstarlet
       xrdb
   [2] xsv
       XTree Gold
       xxd
       xz
   [6] Youtube-dl
       youtube-viewer
   [2] z
       zamzar-bash
       zgen
       zplug
   [4] zsh

Re: Ask HN: Best Command-Line Applications?

#384
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

Note that rg and ag don't have the same feature sets. Here's a handy chart that shows the differences. https://beyondgrep.com/feature-comparison/

That chart is now quite out of date. I don't think there are any substantial features present in ag that are absent from rg. See my note in the README: https://github.com/BurntSushi/ripgrep#feature-comparison

Re: Ask HN: Best Command-Line Applications?

#385
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.

exa looks pretty slick, except for having the keys required be on the two weakest fingers of my left hand. :-(

Re: Ask HN: Best Command-Line Applications?

#386

Earlier quoted context omitted.

Note that rg and ag don't have the same feature sets. Here's a handy chart that shows the differences. https://beyondgrep.com/feature-comparison/

That chart is now quite out of date. I don't think there are any substantial features present in ag that are absent from rg. See my note in the README: https://github.com/BurntSushi/ripgrep#feature-comparison

Please let me know what's new so that I can update the chart. Dumping into an issue will do, and then I can worry about getting it into chart format.

https://github.com/beyondgrep/website/issues

Re: Ask HN: Best Command-Line Applications?

#388
post #322

Earlier quoted context omitted.

Really? PS 3.0 was integrated as of Win 8 / Server 2012. In 7 and 2008/2008R2 it was in service pack 1.

Yes it is installed. But script execution is pretty much always disabled through group policy

Not to mention if you work at a university that does any research, you more than likely support computers still running Windows 98, or even older!

It is shocking how much equipment gets drivers and then never gets updated and no one has the time or money to update them..

Re: Ask HN: Best Command-Line Applications?

#389
post #382

Earlier quoted context omitted.

Also, I found borg better than restic since borg also does compression https://github.com/borgbackup/borg

The author is willing to add compression to restic but that was in March and no ETA. https://github.com/restic/restic/issues/21

Thanks - I'm subbed to that ticket. Will most likely switch over when it's done since a I vastly prefer a single binary rather than having to install python + deps.

Re: Ask HN: Best Command-Line Applications?

#390
post #160

I wrote a Python cli tool for getting the git status/history over multiple local repositories. I am often working across several repos on a single project, but generally I find it useful to see what updates are available, and also what my team are up to. https://github.com/benp44/git-bulk-toolkit shameless plug alert

I use mr [1] for this

[1] - https://myrepos.branchable.com/

Post reply on HN