commands
traceroute — Inspect path responses
Sends bounded probes with increasing TTL. -n avoids reverse DNS; -m limits hops, -q probes per hop and -w reply wait. Responses depend on policy and probe type. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
traceroute [OPTIONS] HOSTParameters & Attributes
| Name | Type | Description |
|---|---|---|
| HOST | operand | Owned lab destination |
| -n | option | Numeric |
| -m | option | Max hops |
| -q | option | Probes per hop |
| -w | option | Wait |
Return Value
exit status and output
Sends bounded probes with increasing TTL. -n avoids reverse DNS; -m limits hops, -q probes per hop and -w reply wait. Responses depend on policy and probe type.
Working Example
Example Snippetlinux
traceroute -n -m 1 -q 1 -w 1 127.0.0.1