Created
July 22, 2017 10:23
-
-
Save Stwissel/d17c5c8c89c47402c372ed1aeb993d39 to your computer and use it in GitHub Desktop.
Command line speed Test for Singapore
This file contains 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 | |
# Linux or Mac shell script to test download speeds in Singapore | |
# using the speedtest CLI https://github.com/sivel/speedtest-cli | |
# VERY quick and dirty | |
resultfile=speedresult.asc | |
speedparam='--secure --simple --server ' | |
date >> $resultfile | |
echo 2054 Viewqwest Pte Ltd Singapore, Republic of Singapore [12.77 km] | |
echo 2054 Viewqwest Pte Ltd Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 2054 >> $resultfile | |
echo 3914 SingTel Singapore, Republic of Singapore [12.77 km] | |
echo 3914 SingTel Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 3914 >> $resultfile | |
echo 367 NewMedia Express Singapore, Republic of Singapore [12.77 km] | |
echo 367 NewMedia Express Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 367 >> $resultfile | |
echo 4235 StarHub Mobile Pte Ltd Singapore, Republic of Singapore [12.77 km] | |
echo 4235 StarHub Mobile Pte Ltd Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 4235 >> $resultfile | |
echo 5304 Vodien Internet Solutions Pte Ltd Singapore, Republic of Singapore [12.77 km] | |
echo 5304 Vodien Internet Solutions Pte Ltd Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 5304 >> $resultfile | |
echo 5935 MyRepublic Singapore, Republic of Singapore [12.77 km] | |
echo 5935 MyRepublic Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 5935 >> $resultfile | |
echo 7009 SuperInternet Singapore, Republic of Singapore [12.77 km] | |
echo 7009 SuperInternet Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 7009 >> $resultfile | |
echo 7311 M1 Limited Singapore, Republic of Singapore [12.77 km] | |
echo 7311 M1 Limited Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 7311 >> $resultfile | |
echo 5168 PT Indosat Tbk Singapore, Republic of Singapore [12.77 km] | |
echo 5168 PT Indosat Tbk Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 5168 >> $resultfile | |
echo 9575 OffsiteDataSync Singapore, Republic of Singapore [12.77 km] | |
echo 9575 OffsiteDataSync Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 9575 >> $resultfile | |
echo 7556 PT FirstMedia Singapore, Republic of Singapore [12.77 km] | |
echo 7556 PT FirstMedia Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 7556 >> $resultfile | |
echo 7368 PT Mora Telematika Indonesia Singapore, Republic of Singapore [12.77 km] | |
echo 7368 PT Mora Telematika Indonesia Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 7368 >> $resultfile | |
echo 6341 Netpluz Asia Pte Ltd Singapore, Singapore [12.77 km] | |
echo 6341 Netpluz Asia Pte Ltd Singapore, Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 6341 >> $resultfile | |
echo 11360 Interoute VDC Singapore, Republic of Singapore [12.77 km] | |
echo 11360 Interoute VDC Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 11360 >> $resultfile | |
echo 10769 PT XL Axiata Tbk Singapore, Republic of Singapore [12.77 km] | |
echo 10769 PT XL Axiata Tbk Singapore, Republic of Singapore [12.77 km] >> $resultfile | |
speedtest $speedparam 10769 >> $resultfile | |
date >> $resultfile | |
echo DONE! | |
echo DONE! >> $resultfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI, the following servers are no longer working and should probably be removed: