Skip to content

Instantly share code, notes, and snippets.

# 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
# 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
@killerro
killerro / ForKaliV1.1.1.sh
Last active April 13, 2018 11:19
kali linux
# 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