Finding fastest Ubuntu mirror using CLI

Wrote a quick python script to find me the fastest Ubuntu mirror using only the CLI

% sudo apt-get install python python-beautifulsoup

% wget http://wiggum.com/ubuntu-fastest-mirror

% ./ubuntu-fastest-mirror

Then replace all the hostname’s in /etc/apt/sources.list with the desired mirror

Posted by Sean Leach