Skip to content

Instantly share code, notes, and snippets.

@mainframe
Created May 28, 2013 06:42
Show Gist options
  • Save mainframe/5660878 to your computer and use it in GitHub Desktop.
Save mainframe/5660878 to your computer and use it in GitHub Desktop.
Test network speed with speedtest.net
#!/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
@mainframe
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment