Files
cheatsheet-tldr/tldr/linux/netselect

30 lines
616 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# netselect
> Speed test for choosing a fast network server.
> More information: <https://github.com/apenwarr/netselect>.
- Choose the server with the lowest latency:
`sudo netselect {{host_1}} {{host_2}}`
- Display nameserver resolution and statistics:
`sudo netselect -vv {{host_1}} {{host_2}}`
- Define maximum TTL (time to live):
`sudo netselect -m {{10}} {{host_1}} {{host_2}}`
- Print fastest N servers among the hosts:
`sudo netselect -s {{N}} {{host_1}} {{host_2}} {{host_3}}`
- Display help:
`netselect`