These are a list of usages of shell commands I can't live without on UNIX-based systems.
Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages:
brew install proctools # to install pgrep, pkill, etc.
brew install pstree # to be able to use pstree
brew install vnstat # to be able to use vnstat
brew install ncdu # to use ncdu
brew install ipcalc # to use the almighty ipcalc
brew install htop # to use htop
brew install ack # to use the awesome ack
brew install lsof # to use the amazing lsof
Using YUM you can install the tools with the following RPM packages:
yum install proctools # same as brew package
yum install psmisc # for pstree
yum install vnstat # for vnstat
yum install ncdu # for ncdu
yum install initscripts # for ipcalc - should already have this, I think?
yum install htop # for htop
yum install ack # for ack
yum install lsof # for lsof
Using APT you can install the tools with the following RPM packages:
apt-get install procps
apt-get install psmisc
apt-get install vnstat
apt-get install ncdu
apt-get install ipcalc
apt-get install htop
apt-get install ack
apt-get install lsof
I have a few .alias files already in my .home repo, but not sure I have committed all my current aliases. I actually usually don't alias lsof much, simply because I learned it so well previously, but I imagine those would be great candidates for others.
I sort of see aliases as pretty personal things (like a .vimrc or .emacs file), but you are welcome to comb through my .home repo at https://github.com/mbbx6spp/.home