Skip to content

Instantly share code, notes, and snippets.

@regalstreak
Created January 9, 2017 17:57
Show Gist options
  • Save regalstreak/0e5c4c68c8a299ee40f43cd302505e2f to your computer and use it in GitHub Desktop.
Save regalstreak/0e5c4c68c8a299ee40f43cd302505e2f to your computer and use it in GitHub Desktop.
Find fastest ubuntu mirror
Netselect from https://packages.debian.org/stable/net/netselect
Command:
sudo netselect -v -s10 -t20 `wget -q -O- https://launchpad.net/ubuntu/+archivemirrors | grep -P -B8 "statusUP|statusSIX" | grep -o -P "(f|ht)tp.*\"" | tr '"\n' ' '`
Lower rank is better
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment