Ping command – Definition
The Ping command is one of your operating system’s built-in network diagnostic commands (Windows, Linux, macOS, FreeBSD, etc.). Ping is used to testing connectivity between your device and the target, which can be a hostname such as google.com or an IP address such as 192.168.2.1.
Ping sends four 32-byte messages to the target by default, using the ICMP protocol (Internet control message protocol).