Thanks to Chuck Hollenbech for a crucial part of the code on this one.
--
---------- Forwarded message ----------
Date: Sat, 10 Sep 2016 07:56:18
From: Jude DaShiell via Support <support@xxxxxxxxxxxxxxxxx>
Reply-To: Jude DaShiell <jdashiel@xxxxxxxxx>
To: support@xxxxxxxxxxxxxxxxx
Subject: [Support] a line for .bashrc
ping -c 5 www.google.com 1>/dev/null 2>&1&&echo "internet is up"||echo
"internet is down"
--
_______________________________________________
Support mailing list
Support@xxxxxxxxxxxxxxxxx
http://sonargnulinux.com/mailman/listinfo/support_sonargnulinux.com
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list