Created
May 28, 2013 06:42
-
-
Save mainframe/5660878 to your computer and use it in GitHub Desktop.
Test network speed with speedtest.net
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 | |
# Copyright (C) 2013, OpenNode LLC. All rights reserved. | |
# Email: [email protected] | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with this program; if not, write to the Free Software | |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
# | |
# DESCRIPTION: | |
# Test network speed with speedtest.net | |
echo "Installing speedtest-cli into /usr/local/bin" | |
cd /usr/local/bin | |
wget -q -O - https://raw.github.com/sivel/speedtest-cli/master/speedtest-cli > speedtest-cli | |
chmod 755 speedtest-cli | |
echo "Launching speedtest..." | |
/usr/local/bin/speedtest-cli | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget -q -O - https://gist.github.com/mainframe/5660878/raw/on-net-speedtest.sh | bash