Skip to content

Instantly share code, notes, and snippets.

@jamiehoward
Last active October 16, 2017 15:35
Show Gist options
  • Save jamiehoward/1c7e072e87017d52a0841e2fe9f87843 to your computer and use it in GitHub Desktop.
Save jamiehoward/1c7e072e87017d52a0841e2fe9f87843 to your computer and use it in GitHub Desktop.
Script to check for pack loss
echo "Checking packet loss..."
ping -c 100 google.com | grep -o "[0-9]*\.[0-9]*% packet loss"
say "Packet loss check complete."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment