Last active
August 29, 2015 14:11
-
-
Save henare/9985552e148069065a3b to your computer and use it in GitHub Desktop.
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
echo "Hello this is Exetel Speed Test" | |
echo "Hello this is Exetel speed test" >> SpeedTestResults.txt | |
date >> SpeedTestResults.txt | |
echo "=================================================" >> SpeedTestResults.txt | |
ifconfig -a >> SpeedTestResults.txt | |
# Outputs tons of network information into the command prompt | |
echo "=================================================" >> SpeedTestResults.txt | |
ping -c4 www.google.com >> SpeedTestResults.txt | |
# Ping google to figure out if we’ve got internet! | |
echo "All done pinging Google." | |
echo "=================================================" >> SpeedTestResults.txt | |
ping -c4 www.exetel.com.au >> SpeedTestResults.txt | |
echo "All done pinging Exetel website." | |
echo "=================================================" >> SpeedTestResults.txt | |
ping -c4 127.0.0.1 -n 20 >> SpeedTestResults.txt | |
echo "All done pinging local host" | |
echo "=================================================" >> SpeedTestResults.txt | |
ping -c4 220.233.0.4 >> SpeedTestResults.txt | |
echo "=================================================" >> SpeedTestResults.txt | |
ping -c4 58.96.1.28 >> SpeedTestResults.txt | |
echo "=================================================" >> SpeedTestResults.txt | |
ping -c4 220.233.0.3 >> SpeedTestResults.txt | |
echo "All done pinging Exetel DNS servers." | |
echo "=================================================" >> SpeedTestResults.txt | |
traceroute www.google.com >> SpeedTestResults.txt | |
echo "traceroute completed." | |
echo "=================================================" >> SpeedTestResults.txt | |
# Ommitting netstat, it's a bit intrusive | |
# netstat >> SpeedTestResults.txt | |
# echo netstat Completed | |
# echo "=================================================" >> SpeedTestResults.txt | |
arp -a >> SpeedTestResults.txt | |
echo "arp Completed" | |
echo "=================================================" >> SpeedTestResults.txt | |
echo "Test Completed" >> SpeedTestResults.txt | |
echo "Thank you!!!" >> SpeedTestResults.txt | |
echo Exetel Speed Test Completed | |
echo Thank you!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment