macOS / binaries /

traceroute

/usr/sbin/traceroute
Print the route packets take to network host

traceroute utilizes the IP protocol `time to live' field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to some host.

source: man