top
htop
atop
ps -e -AH --forest -F
pstree -plUa
ps aux --sort pmem
ps -f -C script.rb
pgrep -l some_process
strace -f -p $PID
lsof -p $PID
pkill postgres
sudo apt-get update && apt-get update -y
dpkg-query -l | grep -i postgres
dpkg -L <packagename>
netstat -tlpu
lsof -nPi tcp
dig zorbash.com mx
iptables -I INPUT -s 66.75.84.220 -j DROP
free -m
cat /proc/meminfo
iostat -xnk 5
ssh-copy-id remote-server.org
createdb mydb --owner your_highness
createuser -s your_highness #creates a superuser with username your_highness
psql -d yourdatabase -f postgis.sql
psql -d yourdatabase -f postgis_comments.sql
psql -d yourdatabase -f spatial_ref_sys.sql