traceroute: update page (#10491)

* traceroute: Use long options, use real argument, two more examples

* traceroute: add unit to --wait argument
pull/23/head
Marek Küthe 2023-07-14 03:39:26 +00:00 committed by GitHub
parent c12e5d7884
commit abf00dc56e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 6 deletions

View File

@ -5,20 +5,28 @@
- Traceroute to a host:
`traceroute {{host}}`
`traceroute {{example.com}}`
- Disable IP address and host name mapping:
`traceroute -n {{host}}`
`traceroute -n {{example.com}}`
- Specify wait time for response:
- Specify wait time in seconds for response:
`traceroute -w {{0.5}} {{host}}`
`traceroute --wait={{0.5}} {{example.com}}`
- Specify number of queries per hop:
`traceroute -q {{5}} {{host}}`
`traceroute --queries={{5}} {{example.com}}`
- Specify size in bytes of probing packet:
`traceroute {{host}} {{42}}`
`traceroute {{example.com}} {{42}}`
- Determine the MTU to the destination:
`traceroute --mtu {{example.com}}`
- Use ICMP instead of UDP for tracerouting:
`traceroute --icmp {{example.com}}`