≡ Menu

Unix Ping Command

Ping Tutorial: 15 Effective Ping Command Examples

As you already know, ping command is used to find out whether the peer host/gateway is reachable. If you are thinking ping is such a simple command and why do I need 15 examples, you should read the rest of the article. Ping command provides lot more options than what you might already know. By [...]


How To Execute Ping Command Only For N number of Packets

Question: When I execute ping command from the command line, it keeps sending the packets until I hit CTRL-C to terminate the ping command output. How can I execute ping command only for N number of packets and terminate the output automatically? Answer: Use ping option -c to specify the number of packets. After sending [...]

{ 1 comment }