LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
pinging


I was running my ubuntu and I was pinging google.com and the packets just kept coming! How do I stop that?
 
Old 07-09-2011, 12:27 PM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
<ctrl>C

And read man ping, specifically the the -c option

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

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

Welcome to LQ!!!

Just hit ctrl+c and that will stop it.
 
Old 07-09-2011, 02:06 PM   #4
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
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:

Code:
ping -c 4 google.com
 
  


Reply



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 09:06 AM
Pinging by Name? SlowCoder Linux - Networking 2 05-06-2009 02:45 PM
pinging delos Linux - Networking 6 07-02-2004 09:14 AM
Pinging?? Sherpa Linux - General 3 05-13-2004 07:23 AM
Pinging Problem warlord07 Linux - Networking 1 09-19-2003 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 PM.

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