GNU/Linux Command – PING

ping — send ICMP ECHO_REQUEST to network hosts

Summary :
Packet InterNet Groper uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to get an ICMP ECHO_RESPONSE from a host or gateway to find whether it is alive or not. See

$ ping localhost -- Resolve the IP for localhost and Ping it. $ ping -- Ping for IP $ ping -a host -- Bell after every successful ping. $ ping -b -- Ping the broadcast IP. $ ping -c 6 host -- Stop after sending 6 ECHO_REQUEST packets. # ping -f host -- Flood ping. Packets will generated with Zerointer packet time. $ ping -i 5 host -- Wait 5 seconds between sending each packet. $ ping -q host -- Quiet Mode. Only shows initial and end summary. $ ping -R host -- Record and print the route used by the packets. $ ping -s 100 host -- Sent 100 bytes ICMP packet. Default 56 bytes. $ ping -w 5 host -- Ping for 5 Sec and Exit.
Read: man ping

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: