Wednesday, October 3, 2012

Using ping command with different-different ways in linux...


Ping stands for Packet Internet Groper. This is a command which used to check connectivity between two different hosts or in two different network devices like router and pc. We can use this command in many ways. That all ways are given bellow.


This command shows reply continuously with IP address after every 1 second interval.

~]#ping 192.168.1.1      

This command  shows reply continuously with IP address after every half second interval.

~]#ping 192.168.1.1 -i 0.5  

This command shows reply five times continuously with IP address after every half second.

~]#ping 192.168.1.1 -i 0.5 -c 5

2 comments:

jackson said...

this is very informative post but i want to know is this command is only usable in linux operating system or in windows as well

Navneet Sharma said...

These commands of ping will not work in windows.. in windows we use ping 192.168.1.1 -t to ping regular. try this in your computer.. use ctrl+c to stop regular pinging in windows and in Linux both.

Post a Comment