How does traceroute work and how do you read the output?
BeginnerConceptCommand-Line Tools & Diagnostics
Answer
It sends probes with increasing TTL and records the ICMP Time Exceeded replies, listing each hop with three RTTs. Stars (* * *) mean a hop did not reply, often just ICMP rate limiting, not a failure; what matters is whether later hops respond.
traceroute -n 8.8.8.8
traceroute -T -p 443 example.com # TCP SYN probes, passes more firewalls
More on Command-Line Tools & Diagnostics
How do you check if a remote port is open?BeginnerHow do you list listening ports and the processes that own them?BeginnerWhat does `ping` tell you and what does it not?BeginnerWhat is mtr and why is it better than traceroute?IntermediateHow do you query DNS with dig and read the answer?BeginnerHow do you use curl to debug an HTTP problem?Beginner