Put together the networking commands I actually reach for regularly. Organized by what you are trying to do rather than alphabetically:

  • Diagnostics (ping, dig, ss, mtr)
  • Interface management (ip addr/route/link)
  • Traffic analysis (tcpdump, nethogs, iftop)
  • Curl tricks (timing, resolve, retry)
  • SSH tunnels (local, remote, SOCKS, background)
  • Firewall (iptables + nftables equivalents)

Nothing obscure — just the stuff that comes up when something breaks at 3 AM.