Linux ping
In case you have some 'alpine' version of Linux you might not have ping tool installed. One of the alternative ways to check access to a server is:
timeout 2 bash -c "</dev/tcp/172.18.0.10/80"; echo $?
IP should be modified and can also accept URL. Port should be always specified.
- Previous: PowerShell String concatenation ways
- Next: Yarn VSTS