Last active
August 29, 2015 14:22
-
-
Save wrpinheiro/6291cf60219d838e8227 to your computer and use it in GitHub Desktop.
Check if a port from a host is accessible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --connect-timeout 1 www.google.com.br:81 > /dev/null 2>&1; echo $? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment