commands.sh

traceroute

all

Print the route packets trace to network host. See also: `mtr`.

More info →

Options (3)

-w, --waitboolean

Specify wait time in seconds for response

Example: traceroute {{[-w|--wait]}} {{0.5}} {{example.com}}
-q, --queriesboolean

Specify number of queries per hop

Example: traceroute {{[-q|--queries]}} {{5}} {{example.com}}
-I, --icmpboolean

Use ICMP instead of UDP for tracerouting

Example: traceroute {{[-I|--icmp]}} {{example.com}}

Examples (7)

Traceroute to a host

traceroute example.com

Disable IP address and host name mapping

traceroute -n example.com

Specify wait time in seconds for response

traceroute [-w|--wait] 0.5 example.com

Specify number of queries per hop

traceroute [-q|--queries] 5 example.com

Specify size in bytes of probing packet

traceroute example.com 42

Determine the MTU to the destination

traceroute --mtu example.com

Use ICMP instead of UDP for tracerouting

traceroute [-I|--icmp] example.com
made by @shridhargupta | data from tldr-pages