Skip to content

Instantly share code, notes, and snippets.

@libert-xyz
Created June 29, 2020 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save libert-xyz/7715721aad11a66e0e76a8e5f9ac93da to your computer and use it in GitHub Desktop.
Save libert-xyz/7715721aad11a66e0e76a8e5f9ac93da to your computer and use it in GitHub Desktop.
Check URL every second
while true; do sleep 1; curl http://www.google.com; echo -e '\n\n\n'$(date);done
@libert-xyz
Copy link
Author

return only headers:

while true; do sleep 1; curl -I http://www.google.com; echo -e '\n\n\n'$(date);done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment