1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

traceroute: update page (#10491)

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

* traceroute: add unit to --wait argument
This commit is contained in:
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

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}}`