Aryan PrajapatKnowledge Contributor
What is the purpose of the ping command in Linux, and how do you test network connectivity to a remote host?
What is the purpose of the ping command in Linux, and how do you test network connectivity to a remote host?
Ping command is used to test the network connectively between the local and remote hosts. It basically sends an ICMP echo request packet to the remote host and waits for the corresponding echo reply packet.
For example: If we want to check the connectivity to a remote host, we use the following command.
ping remote_host_ip