Created
April 16, 2024 17:47
-
-
Save rosivaldo/ca30329b0c158b486fc5003d7b0d55f3 to your computer and use it in GitHub Desktop.
Quick discover port connectivity, if you don't have nc or can't install it
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
#!/bin/bash | |
</dev/tcp/ip.add.r/port && echo conn-OK || echo conn-ERR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment