一个适用于Debian和Ubuntu的、以中国境内测速点为测速目标的测速脚本。
本脚本基于speedtest.net 和 speedtest-cli 写成。
- 一条命令,快速测速:
wget --no-check-certificate https://raw.githubusercontent.com/singhigh/Speedtest-cli-CN-Auto/master/one-click-speedtest.sh && bash one-click-speedtest.sh {shanghai|telecom|unicom|mobile|all}
- shanghai:只测试到上海的电信、移动、联通的测速点
wget --no-check-certificate https://raw.githubusercontent.com/singhigh/Speedtest-cli-CN-Auto/master/one-click-speedtest.sh && bash one-click-speedtest.sh shanghai
- telecom:只测试到全国各地的电信测速点
wget --no-check-certificate https://raw.githubusercontent.com/singhigh/Speedtest-cli-CN-Auto/master/one-click-speedtest.sh && bash one-click-speedtest.sh telecom
- unicom:只测试到全国各地的联通测速点
wget --no-check-certificate https://raw.githubusercontent.com/singhigh/Speedtest-cli-CN-Auto/master/one-click-speedtest.sh && bash one-click-speedtest.sh unicom
- mobile:只测试到全国各地的移动测速点
wget --no-check-certificate https://raw.githubusercontent.com/singhigh/Speedtest-cli-CN-Auto/master/one-click-speedtest.sh && bash one-click-speedtest.sh mobile
- all:测目前speedtest.net大部分的中国国内测速点
wget --no-check-certificate https://raw.githubusercontent.com/singhigh/Speedtest-cli-CN-Auto/master/one-click-speedtest.sh && bash one-click-speedtest.sh all