SyntaxFix
Write A Post
Hire A Developer
Questions
Better
if ! wget -q --spider --tries=10 --timeout=20 google.com then echo 'Sorry you are Offline' exit 1 fi