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:
parent
c12e5d7884
commit
abf00dc56e
1 changed files with 14 additions and 6 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue