LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-13-2006, 07:49 PM   #1
michshelly
Member
 
Registered: Feb 2006
Posts: 71

Rep: Reputation: 15
ping - How do I stop it?


Hello,

I have installed Fedora 2. I pinged my other machine and the pinging will not stop. How do I stop it? I thought it would be like Windows and stop after 4.

Your help would be welcome.
Thanks
Michelle

Last edited by michshelly; 02-13-2006 at 08:04 PM.
 
Old 02-13-2006, 07:51 PM   #2
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Ctrl+C will stop it

-Kristijan
 
Old 02-13-2006, 07:53 PM   #3
hlpboplz
Member
 
Registered: May 2005
Location: West Central Alabama
Distribution: Fedora Core 4
Posts: 34

Rep: Reputation: 15
Re; STop Ping

Quote:
Originally Posted by michshelly
Hello,

I have installed installed Fedora 2. I pinged my other machine and the pinging will not stop. How do I stop it? I thought it would be like Windows and stop have 4.

Your help would be welcome.
Thanks
Michelle
ctrl-c should do it.
 
Old 02-13-2006, 07:53 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,995

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
Hit ctrl-c (hold down the "control" key and hit the "c" key)
 
Old 02-13-2006, 07:55 PM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,995

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
Wow. Three people typing a response at once. And I was last

Honestly, I wasn't trying top be redundant. I just type slow I guess!
 
Old 02-13-2006, 08:02 PM   #6
michshelly
Member
 
Registered: Feb 2006
Posts: 71

Original Poster
Rep: Reputation: 15
ping - stop

Aah that did it. Thankyou .
 
Old 02-14-2006, 01:50 AM   #7
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Next time, you can also use:
ping -c <number>
to ping the given number of times.

If you want to always have, let's say 4 pings, then you could create an alias like this:
alias ping="ping -c 4"
Put that in your .bashrc file or .profile in your home directory and from then on, when you type "ping" it will
be interpreted as "ping -c 4", so you'll get just 4 pings.
 
Old 04-26-2006, 04:24 PM   #8
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
After all, why don't you Ctrl+C?
 
  


Reply


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 02:47 AM
how can i stop ping reply? Guru Mind Linux - Security 22 02-07-2006 05:24 PM
To Stop Ping Request Which Way Is Good nirav.jani Linux - Security 18 01-06-2005 09:46 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM
ping -f makes OpenBSD stop working ? markus1982 *BSD 2 05-25-2003 09:05 AM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration