Forrest logo
back to the mtr tool

mtr:tldr:a2b9a

mtr: Disable IP address and host name mapping.
$ mtr -n ${host}
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mtr tool