Speed Testing via the Linux Command Line

Last night I relocated a bunch of computer stuff – namely my home server and router – to our bedroom closet, which in a positive way got it more up and out of the way so that we only have to listen to fans spinning when we’re picking out clothes to wear, but in a not-so-positive way, it means that at least until I climb into the ceiling to run ethernet cables around the house, my rig in my office will be relying on wifi instead of a wired network connection for a while.

Now this didn’t really seem like much of a big deal until this morning I noticed that Verizon dropped its prices on the higher Internet tiers and now upgrading to 150 Mbps is only an extra $20 instead of $50!

And mind you, I don’t necessarily need most of that speed here at my desktop, but I am somewhat addicted to speed tests just to randomly remind me how awesome my Internet connection is these days, and not for nothing but speed tests over wifi kind of suck.

That said, my home server is still hard wired because it’s literally sitting right next to the router in the closet now, so a bit of quick Googling found this nifty post that provides a great walkthrough of how to run speed tests directly from the command line in your friendly, neighborhood linux box…

I already had Git installed, so it was maybe 30 seconds to pull down the speedtest-cli script and copy it into /usr/local/bin, then I was off to the races! I’m pretty much a sworn user of Speedtest.net, so to see that it was interfaced directly with them was an easy win. And the customization is neat, too, how you can either run in a default for the fastest host or choose your own, in addition to getting the link for your results badge to wear so proudly.

My favorite feature, though, is how simple they made batch testing so now you can actually pick multiple locations around the world and kick them all off in rapid succession. Though normally I default to my web host up in New Jersey because I think testing with a local server here is stupid when we don’t really have a lot of data centers here for major websites anyways, they were admittedly running a little slow this morning so it was neat to be able to also throw in LA and Miami as two other corners of the country to help round my test results out!

Screen Shot 2015-10-07 at 4.39.30 PM

Now to see if I can find that promo where they were giving away the free router to upgrade to 150/150… 😛

Leave a Comment

Your email address will not be published. Required fields are marked *