← All commands
Topic hub Networking
Windows Linux Networking Expanded guide

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

On Windows, "pathping" is used to combined ping and traceroute with statistics. On Linux, the closest practical mapping shown here is "mtr". Continuously monitors each network hop showing real-time packet loss and latency per hop. This reference is grouped under Networking.

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

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows pathping maps to mtr for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.

Portable across the compared distros

The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.

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

Debian/Ubuntu, Fedora and Arch all use "mtr" for this mapping. The command syntax shown here is portable across the three rows, although installed versions and system defaults can still vary.

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