ping commandline tool is used to check connectivity between two devices.
ping usage is to execute command without any options and specify only a domain name or an IP address. In this case, on a Linux/Unix machine, ping will be sent indefinitely. On a Windows machine, by default, only four pings are sent to the specified domain name or IP and four pings are received back.
In order to specify the number of pings, on a Linux/Unix machine a
c option (
n option on a Windows machine) should be used:
ping -c 10 yaroslavgrebnov.com
In order to send ping indefinitely on a Windows machine, a
t option should be used:
ping -t yaroslavgrebnov.com
By default, ping uses IPv4. In order to use IPv6,
6 option should be specified:
ping -6 yaroslavgrebnov.com