Skip to content

Instantly share code, notes, and snippets.

@teddevaal
Created October 21, 2014 08:14
Show Gist options
  • Save teddevaal/03c1c90913b0e2ded80f to your computer and use it in GitHub Desktop.
Save teddevaal/03c1c90913b0e2ded80f to your computer and use it in GitHub Desktop.
Check port
nc IP-ADDRESS PORT < /dev/null; echo $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment