Created
January 25, 2016 15:59
-
-
Save bcg/93f27c25d738c714b619 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
address=127.0.0.1 | |
port=8080 | |
echo "Waiting on TCP connection to $address:$port" | |
while ! exec 6<>/dev/tcp/${address}/${port}; do | |
sleep 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment