Find the answer to your Linux question:
Results 1 to 5 of 5
I'm rather new to Linux, and I have been given a machine with Linux on. long story as to who what where why how, etc... but my point is this: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Location
    Somewhere with a buttload of sun
    Posts
    3

    Help ---> non-stop Pinging


    I'm rather new to Linux, and I have been given a machine with Linux on. long story as to who what where why how, etc... but my point is this: while learning commands and such, just for giggles and snots I first had my windows machine ping my Linux machine (I am using PuTTy, so I can look up helps while using Linux), then had my Linux machine ping my windows machine. the windows machine pinged the Linux without a problem, but the Linux would NOT stop pinging. I tried to enter commands, but it wouldn't let me use the command line at all. any ideas as to why this is happening, and perhaps how to stop it? I am using Gentoo, obviously, as I'm posting here, so anyone who might know I could use some assist here

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    Ping Manual

    -c count
    Stop after sending count ECHO_REQUEST packets.
    Google: linux ping how to break out

    Google and manuals are your friend.

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Location
    Somewhere with a buttload of sun
    Posts
    3
    Many thanks. I had been reading an online instruction manual and it had mentioned the ping command, but didn't mention the potential for this problem. I guess from now on I shall "man" all the commands before entering them.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    you can also stop the pings by sending it a 'Control-C'
    linux user # 503963

  6. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    An even better way is to use counts.
    ping -c3 google.com
    The above command will ping google 3 times and exit.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •