Skip to content

Instantly share code, notes, and snippets.

@dgershman
Created November 22, 2022 23:44
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 dgershman/609744cd93e6eebfbbf4719e0ab1bc47 to your computer and use it in GitHub Desktop.
Save dgershman/609744cd93e6eebfbbf4719e0ab1bc47 to your computer and use it in GitHub Desktop.
HTTP without curl
Test connectivitity
timeout 5 bash -c 'cat < /dev/null > /dev/tcp/127.0.0.1/8443'; echo $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment