Skip to content

Instantly share code, notes, and snippets.

@futureimperfect
Last active December 18, 2015 13:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save futureimperfect/5793955 to your computer and use it in GitHub Desktop.
Save futureimperfect/5793955 to your computer and use it in GitHub Desktop.
A cURL-based command-line download speed test. Add this to your ~/.bash_profile.
alias speedtest='echo "scale=2; `curl --progress-bar -w "%{speed_download}" http://speedtest.wdc01.softlayer.com/downloads/test10.zip -o /dev/null` / 131072" | bc | xargs -I {} echo {} mbps'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment