How to use the MTR command?

How to use the MTR command on Linux?

It is very easy to use the MTR command through the Terminal on your Linux computer. Just follow these 3 steps:

  1. First, you need to be an administrator. That means to have a Linux account with sudo privileges.
  2. Second, you will need to install it. The MTR command is not pre-installed like other popular commands. The package name is “mtr”. For that purpose, you will need to execute one of the following commands, depending on your Linux distro:

Ubuntu, Debian, Linux Mint, and others based on Ubuntu or Debian:

sudo apt-get install mtr

Red Hat, CentOS, and Fedora:

sudo yum install mtr

Arch Linux, Manjaro Linux, and other Arch-based:

pacman -Sy pacman -S mtr

  1. Third, use the basic MTR command or combine it with some of the options that you have for it. See the complete list of options below. 

Basic MTR command: 

mtr domain.com 

*Change the domain name with the one you want. 

Suggested article: What is Traceroute command?