Ping Command

Ping Tutorial: 15 Effective Ping Command Examples

by Ramesh Natarajan on November 30, 2009

Linux Ping Command for Debian, Ubuntu and Fedora - ExamplesAs 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.

(more…)

{ 14 comments }

How To Execute Ping Command Only For N number of Packets

by Ramesh Natarajan on November 6, 2009

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 N number of packets, ping command will terminate automatically as explained below.

(more…)

{ 1 comment }