mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 02:53:08 +00:00
Update cheatsheets
This commit is contained in:
30
linux/rankmirrors
Normal file
30
linux/rankmirrors
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# rankmirrors
|
||||
|
||||
> Rank a list of Pacman mirrors by connection and opening speed.
|
||||
> Writes the new mirrorlist to `stdout`.
|
||||
> More information: <https://wiki.archlinux.org/index.php/mirrors>.
|
||||
|
||||
- Rank a mirror list:
|
||||
|
||||
`rankmirrors {{/etc/pacman.d/mirrorlist}}`
|
||||
|
||||
- Output only a given number of the top ranking servers:
|
||||
|
||||
`rankmirrors -n {{number}} {{/etc/pacman.d/mirrorlist}}`
|
||||
|
||||
- Be verbose when generating the mirrorlist:
|
||||
|
||||
`rankmirrors -v {{/etc/pacman.d/mirrorlist}}`
|
||||
|
||||
- Test only a specific URL:
|
||||
|
||||
`rankmirrors --url {{url}}`
|
||||
|
||||
- Output only the response times instead of a full mirrorlist:
|
||||
|
||||
`rankmirrors --times {{/etc/pacman.d/mirrorlist}}`
|
||||
Reference in New Issue
Block a user