You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may want to consider using something like below instead of pinghere: wget -q --tries=10 --timeout=20 --spider http://google.com > /dev/null 2>&1.
Indeed in some case ping may have execute rights issues or even be blocked by some ISPs.
It's a fairly commonly used method to check internet availability and proper name resolution; wget is available for any user.
The text was updated successfully, but these errors were encountered:
You may want to consider using something like below instead of
ping
here:wget -q --tries=10 --timeout=20 --spider http://google.com > /dev/null 2>&1
.Indeed in some case
ping
may have execute rights issues or even be blocked by some ISPs.It's a fairly commonly used method to check internet availability and proper name resolution;
wget
is available for any user.The text was updated successfully, but these errors were encountered: