Skip to content
Sign in
Army Headquarters (GHQ) Past Papers GHQ

The command ping in networking is used for what purpose?

Tap an option to check the answer. You can also press A–D.

Explanation
The ping command is a fundamental network utility used to test and verify the reachability and connectivity between two hosts on an Internet Protocol (IP) network. It works by sending ICMP (Internet Control Message Protocol) echo request packets to a target device and waiting for an echo reply. A successful response confirms that a connection exists and provides a round-trip time (RTT), which indicates the latency.