Skip to content

Instantly share code, notes, and snippets.

@felipepodesta
Forked from mjacobus/cli_tools.sh
Created June 7, 2021 15:53
Show Gist options
  • Save felipepodesta/3b2adaf6669aab18775b5cb36e41d751 to your computer and use it in GitHub Desktop.
Save felipepodesta/3b2adaf6669aab18775b5cb36e41d751 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# https://kkovacs.eu/cool-but-obscure-unix-tools
# https://stedolan.github.io/jq/
# https://github.com/jkbrzt/httpie
function install {
local package=$1
command -v apt > /dev/null 2>&1
if (($? == 0)); then
echo apt
sudo apt-get install -y $package
return
fi
command -v yum > /dev/null 2>&1
if (($? == 0)); then
echo yum
sudo yum install -y $package
return
fi
}
# ag
# ubuntu
install silversearcher-ag
# fedora
install the_silver_searcher
install dstat
install sar
install htop
install atop
install glances
install slurm
install ttyrec
install ipbt
install vim
install emacs
install rsync
install screen
install dtach
install tmux
install byobu
install mtr
install multitail
install socat
install netpipes
install tpp
install iftop
install iptraf
install nethogs
install xargs
install parallel
install siege
install tsung
install duplicity
install rsyncrypto
install ledger
install nethack
install taskwarrior
install lftp
install curl
install ack
install pt
install rtorrent
install aria2
install calcurse
install remind
install wyrd
install ttytter
install earthquake
install newsbeuter
install rsstail
install vifm
install ranger
install powertop
install cowsay
install tig
install cloc
install qalc
install ipcalc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment