ping (ICMP)

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.

Last updated