Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

mtr

Network diagnostic tool (combines traceroute and ping)

Syntax

mtr [OPTION]... HOSTNAME

Common Options

-nDon't resolve hostnames
-cSet number of pings
-rReport mode
-wReport with full hostnames
-sSet packet size
-TUse TCP
-uUse UDP

Common Examples

mtr google.com

Interactive trace

mtr -r -c 10 google.com

Report mode, 10 pings

mtr -n 8.8.8.8

No DNS resolution

mtr -rw google.com

Report with full hostnames

mtr -T google.com

Use TCP protocol

Related Commands

Related Tools

More Code & Dev Tools