a guest Sep 16th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- echo "Attempting to connect to $host:$port"
- until nc -z $host $port; do
- printf "."
- sleep 5
- echo "Connection to $host:$port is established"
RAW Paste Data