Created
April 26, 2019 01:57
-
-
Save sarfarazahmad89/e72a468f6506bc1d9265f78e892233cd to your computer and use it in GitHub Desktop.
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
How do you test you can connect to a utility without telnet lying around ? | |
>> for i in 5601 5602; do (</dev/tcp/my-machine.domain.com/$i) 2>/dev/null && echo "Can connect to port $i";done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment