Advertisement
Guest User

Untitled

a guest
Feb 13th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. export http_proxy='http://proxy.test.cz:1234/'
  2.  
  3. wget -nvq --proxy-user=test --proxy-password=test google.com &>/dev/null | grep -q '<H1>you cant't use internet</H1>' || ( echo "Proxy isnt't working" | mail -s "Proxy isnt't working!!!" -r "No-reply<no-reply@test.cz>" test@test.cz )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement