Skip to content

Instantly share code, notes, and snippets.

@bi40
Forked from mobilemind/curlcheck.sh
Created June 19, 2019 13:19
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 bi40/e971e1c759379df2c6438ae236c1ea67 to your computer and use it in GitHub Desktop.
Save bi40/e971e1c759379df2c6438ae236c1ea67 to your computer and use it in GitHub Desktop.
quickly check headers & TLS negotiation using curl
#!/usr/bin/env bash
curl -sv --connect-timeout 15 --head -i 'https://www.google.com' > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment