Skip to content

Instantly share code, notes, and snippets.

View nullrndtx's full-sized avatar

Randall Tux nullrndtx

View GitHub Profile
# Test Internet Connection
ping -c 1 google.com > /dev/null
if [ "$?" != 0 ]
then
echo [*] [Internet Connection]: FAILED...;
echo [x] [warning]:This Script Needs An Active Internet Connection;
sleep 3