[olug] ping stop

Ryan O'Rourke ryano at ch-gifts.com
Sun Sep 7 05:59:19 UTC 2003


Kenton Brede wrote:
> On Sat, Sep 06, 2003 at 08:45:15PM -0500, nate wrote:
> 
>>How do I stop a ping?  After I ping an address it either sits there waiting on 
>>me to do something or it just keeps pinging.  
> 
> 
> Hit ^c (control c)

Or you could start ping with a certain number you'd like it to quit at, 
say 10 packets:
ping -c 10 hostname

Ctrl + c is a catch all for stopping a running program. Try running 
'top'. You can either quit top by sending it a 'q' for quit, or you can 
quit top by sending it a Ctrl + c.
Hell, I think Ctrl + c even works to stop a ping in Windows.

-- Ryan



More information about the OLUG mailing list