![Forrest logo](/images/logo.png)
mtr:tldr:a2b9a
The command "mtr -n ${host}" is used to run the "mtr" (My Traceroute) tool with the "-n" option for a specified host.
-
"mtr" is a network diagnostic tool that combines the functionality of both "ping" and "traceroute". It continuously probes the network path between the source host and a destination host and provides live statistics about the network route, packet loss, latency, and other relevant information.
-
The "-n" option within the command instructs "mtr" to display IP addresses instead of resolving hostnames. This is useful when you don't want to wait for hostnames to be resolved, especially for hosts with long response times or unreachable hosts.
-
"${host}" is a placeholder for the actual hostname or IP address of the target host you want to trace using "mtr". You need to replace "${host}" with the desired host you wish to investigate.