How to test the speed of the Internet from the command line
Technologies / / December 19, 2019
You can open a page Speedtest or any other similar service in the browser, but sometimes it is the mood that the hands a really drawn to the command line. It is in these moments you can test your Internet shustrost slightly more interesting way.
These fun and accessible to Windows users after installation Cygwin, Curl or wget. For Mac, you can use curl, wget well, fans will have to pre-install it.
Test using curl
Everything is simple. Simply copy and paste the following command (do not worry that it will be displayed here in the 2 lines, everything is inserted properly).
curl -o / dev / null http://speedtest.sea01.softlayer.com/downloads/test100.zip
In this case, the test is used for zip file size of 100 megabytes with Softlayer site. When very fast connection of this size may not be enough, and then come in handy more capacious archives Thinkbroadband. For example, here this archive into 1 GB.
curl -o / dev / null http://download.thinkbroadband.com/1GB.zip
Note that -o is a capital letter «o», but not zero. Since the loading occurs in the / dev / null, the file is automatically deleted after the completion of the process.
Test using wget
The difference in this case is only in the software program. The rest of the syntax is almost identical to the first example, only in the place -O letter capitalized.
wget -O / dev / null http://speedtest.sea01.softlayer.com/downloads/test100.zip
You happy minutes in their native environment of the terminal.