Created
June 11, 2019 00:50
-
-
Save XMB5/9563a04f9818ea83da32f18b1e4b4519 to your computer and use it in GitHub Desktop.
Command line download speed test, requires aria2c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LINKS='http://mirror.math.princeton.edu/pub/ubuntu-iso/19.04/ubuntu-19.04-desktop-amd64.iso http://mirrors.layeronline.com/ubuntu-releases/19.04/ubuntu-19.04-desktop-amd64.iso http://mirrors.xtom.com/ubuntu-releases/19.04/ubuntu-19.04-desktop-amd64.iso http://mirror.easyspeedy.com/ubuntu-iso/19.04/ubuntu-19.04-desktop-amd64.iso http://mirrors.dotsrc.org/ubuntu-cd/19.04/ubuntu-19.04-desktop-amd64.iso' | |
aria2c --dir / -o /dev/null --allow-overwrite=true --file-allocation=none $LINKS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -sL 'https://gist.githubusercontent.com/XMB5/9563a04f9818ea83da32f18b1e4b4519/raw/speedtest.sh' | bash