The traceroute
and traceroute6
commands display information on the route IPv4 or IPv6 packets. You can use the commands to determine the path of an IPv4 or IPv6 query. The commands provide information on the path packets travel and the time it takes to reach the IPv4 or IPv6 destination address.
Syntax
The following is the command syntax:
traceroute [ options ] hostname | IPv4 address
traceroute6 [ options ] hostname | IPv6 address
The traceroute and traceroute6 commands are basic Linux commands. Depending on the system you are working in, the available options for these commands may vary.