ping (ICMP)
Last updated
Last updated
ping -c 4 [IP or domain name]
The command above pings the provided IP or domain name.
The ping command is used when we want to test whether a connection to a remote resource is possible.
The -c
argument causes only 4 ICMP packets to be sent.