Unix questions - Dumb question: How do I kill a ping?

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > March 2004 > Dumb question: How do I kill a ping?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dumb question: How do I kill a ping?
Pat W.

2004-03-22, 2:35 pm

I am a UNIX neophyte who is learning by fire. I have initiated a ping
command in one of the shell's (ctrl alt F3), and I thought ctrl d
would kill it, but it won't.

How do I kill a ping command?

Thanks,
Pat.
Bit Twister

2004-03-22, 2:35 pm

On 22 Mar 2004 10:50:33 -0800, Pat W. wrote:
> I am a UNIX neophyte who is learning by fire. I have initiated a ping
> command in one of the shell's (ctrl alt F3), and I thought ctrl d
> would kill it, but it won't.
>
> How do I kill a ping command?


Ctl C if you have not disable/changed it.

you might try ping -c 1 target if man ping shows that it is supported.
Web Surfer

2004-03-23, 9:38 am

[This followup was posted to comp.unix.questions]

In article <2586ce1d.0403221050.5e715c9@posting.google.com>,
pat@hiawathacorp.com says...
> I am a UNIX neophyte who is learning by fire. I have initiated a ping
> command in one of the shell's (ctrl alt F3), and I thought ctrl d
> would kill it, but it won't.
>
> How do I kill a ping command?
>
> Thanks,
> Pat.
>


You have several choices

Ctrl C

Ctrl \

Richard T. Kus

2004-03-23, 4:35 pm

In article <MPG.1aca05db5258dcf09897df@news.mts.net>,
Web Surfer <raisin@delete-this-trash.mts.net> wrote:
>[This followup was posted to comp.unix.questions]
>
>In article <2586ce1d.0403221050.5e715c9@posting.google.com>,
>pat@hiawathacorp.com says...
>
>You have several choices
>
>Ctrl C
>
>Ctrl \
>


Pat do a stty -a and check to see what your intr and or quit is set to.

richk


Birger Blixt

2004-03-24, 7:35 am

On 2004-03-22 19:50, Pat W. wrote:
> I am a UNIX neophyte who is learning by fire. I have initiated a ping
> command in one of the shell's (ctrl alt F3), and I thought ctrl d
> would kill it, but it won't.
>
> How do I kill a ping command?
>
> Thanks,
> Pat.


Ctrl D is EOF to terminate a input, not a kill.

Do a killall ping in any console to kill it.
(since this was Gnu, not unix)

/bb
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com