Javatpoint Logo
Javatpoint Logo

Linux ping

The ping command stands for (Packet INternet Groper). It checks the connectivity between two nodes that is whether a server is reachable or not.

ping command keep executing and sends the packet until you interrupt.

To stop from execution press ctrl + c.


ping using DNS

Syntax:

Example:

Linux ping1

ping using IP address

You can use IP address also with ping command.

Example:

Linux ping2

ping to limit the packets

To limit the ping packet without using ctrl + c use option c followed by the number of packet to be send.

Syntax:

Example:

Linux ping3

Look at the above snapshot, packets are limited to 5 without pressing keys.

Next TopicLinux netstat




Please Share

facebook twitter google plus pinterest tumbler

Latest 4 Tutorials