Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-09-2011, 01:26 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 10

Rep: Reputation: Disabled

I was running my ubuntu and I was pinging and the packets just kept coming! How do I stop that?
Old 07-09-2011, 01:27 PM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282

And read man ping, specifically the the -c option

Last edited by Wim Sturkenboom; 07-09-2011 at 01:29 PM.
Old 07-09-2011, 01:29 PM   #3
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ Reply

Hi there,

Welcome to LQ!!!

Just hit ctrl+c and that will stop it.
Old 07-09-2011, 03:06 PM   #4
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
As earlier alluded to, running ping with no arguments just makes it keep going. If you only want to ping a target a certain number of times, let's say 4, you use the -c option. Example:

ping -c 4


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not getting a reponse when pinging tractng Red Hat 10 08-22-2013 10:06 AM
Pinging by Name? SlowCoder Linux - Networking 2 05-06-2009 03:45 PM
pinging delos Linux - Networking 6 07-02-2004 10:14 AM
Pinging?? Sherpa Linux - General 3 05-13-2004 08:23 AM
Pinging Problem warlord07 Linux - Networking 1 09-19-2003 02:02 AM

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration