← All commands
Topic hub Networking
Windows Linux Networking Diagnostics

Windows Test-NetConnection -TraceRoute equivalent in Linux

Shows hop-by-hop path to a target.

Windows Test-NetConnection -TraceRoute
Linux equivalents
Debian/Ubuntu apt package: traceroute
traceroute host
Fedora dnf package: traceroute
traceroute host
Arch pacman package: traceroute
traceroute host

Overview

What this command does

Shows hop-by-hop path to a target.

Migration tip: Check the distro-specific rows before copying; package names and service names can differ even when the tool name is similar.

Practical tasks

Common use cases

Trace network route

Shows hop-by-hop path to a target.

traceroute host

Trace network route

traceroute --help

Show command help when supported

man traceroute

Open the manual page when installed

Ready to run

Copyable Linux commands

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

traceroute host

Walkthrough

Examples with explanations

# Windows equivalent: Test-NetConnection -TraceRoute
traceroute host

Reference

Common options and variations

Command or optionUse
traceroute hostTrace network route
traceroute --helpShow command help when supported
man tracerouteOpen the manual page when installed

Distro differences

Debian/Ubuntu vs Fedora vs Arch

The equivalent is shown for Debian/Ubuntu, Fedora and Arch. Some rows use a different package manager or helper tool where Linux distributions commonly diverge.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu apt package: traceroute traceroute host Same command on this distribution.
Fedora dnf package: traceroute traceroute host Same command on this distribution.
Arch pacman package: traceroute traceroute host Same command on this distribution.

Keep learning

Related Networking commands