Skip to content

Instantly share code, notes, and snippets.

@fpalladoro
Created August 6, 2018 13:18
Show Gist options
  • Save fpalladoro/fbdb020f69b15d3a92de1e29e0c92e1e to your computer and use it in GitHub Desktop.
Save fpalladoro/fbdb020f69b15d3a92de1e29e0c92e1e to your computer and use it in GitHub Desktop.
Script to create a report of network connectivity
#!/bin/sh
PACKETS=10
echo "###########################"
ping -q -c $PACKETS 192.168.1.1
echo "###########################"
ping -q -c $PACKETS 8.8.8.8
echo "###########################"
ping -q -c $PACKETS 23.23.198.25
echo "###########################"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment