Back to commands

Routing

traceroute

Trace packet path on macOS and Linux.

Explanation

Traceroute shows each network hop between your device and a destination. It is helpful when a connection works but feels slow, unstable, or fails after leaving your local network.

Syntax

traceroute <destination>

Trace a public host

traceroute google.com

Compare hop latency to find where delay starts.

Related Guides

Related Tools