Is It the Network? ping, curl -I and Ports

When a website or server doesn't answer, four quick checks find the broken link: ping asks whether the computer answers, curl -I whether the website does, ss or lsof which program is listening on a port, and dig which address a name points to.

Updated

Cheat sheet for the lesson Is It the Network? ping, curl -I and Ports: When a website or server doesn't answer, four quick checks find the broken link: ping asks whether the computer answers, curl -I whether the website does, ss or lsof which program is listening on a port, and dig which address a…
Category
Bash
Level
Journeyman
Tags
dig, dns, Domain Name, IP Address, linux, ping, port, unix