commands

  1. dig command has been replaced by drill in newer distros.
  2. netstat command has been replaced by ss in newer distros.

ss

list listening ports
ss -ltn