Examples (6)
Wait for a TCP port to become available
wait4x tcp localhost:8080Wait for a port with a specific timeout
wait4x tcp localhost:3306 --timeout 60sWait for a port to become free (inverted check)
wait4x tcp localhost:8080 --invert-checkWait for multiple ports in parallel
wait4x tcp localhost:3306 localhost:6379 ...Run a command after the port becomes available
wait4x tcp localhost:3306 -- path/to/script.shWait with exponential backoff
wait4x tcp localhost:8080 --backoff-policy exponential --backoff-exponential-max-interval 30smade by @shridhargupta | data from tldr-pages