← All commands
Topic hub Networking
Windows Linux Networking

Windows pathping equivalent in Linux

Continuously monitors each network hop showing real-time packet loss and latency per hop.

Windows pathping
Linux equivalents
Debian/Ubuntu same command
mtr
Fedora same command
mtr
Arch same command
mtr

Overview

What this command does

Continuously monitors each network hop showing real-time packet loss and latency per hop.

Migration tip: mtr is the perfect replacement for both pathping and tracert. Install it with sudo apt install mtr. Use --report for a non-interactive printout.

Practical tasks

Common use cases

Combined ping and traceroute with statistics

Continuously monitors each network hop showing real-time packet loss and latency per hop.

mtr hostname

Interactive live trace

mtr -n hostname

No DNS lookup (faster)

mtr --report hostname

Run 10 cycles then print report

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

mtr google.com
mtr -n google.com
mtr --report google.com
sudo apt install mtr

Walkthrough

Examples with explanations

# Windows: pathping google.com
mtr google.com             # live updating route + stats
mtr -n google.com          # skip DNS for speed
mtr --report google.com    # non-interactive report

# Install if missing:
sudo apt install mtr

Reference

Common options and variations

Command or optionUse
mtr hostnameInteractive live trace
mtr -n hostnameNo DNS lookup (faster)
mtr --report hostnameRun 10 cycles then print report
mtr -c 100 hostnameRun exactly 100 cycles

Distro differences

Debian/Ubuntu vs Fedora vs Arch

This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu same command mtr Same command on this distribution.
Fedora same command mtr Same command on this distribution.
Arch same command mtr Same command on this distribution.

Keep learning

Related Networking commands