perfect! thank you Oliver Grawert! :) made my day :) it's working! :
ping -W 1 -c 4 google.com >& /dev/null && ping -W 1 -c 4 www.yahoo.com >& /dev/null || echo "no internet connection" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/913669.63663...@web121402.mail.ne1.yahoo.com