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 11-17-2003, 08:08 AM   #1
Registered: Nov 2003
Posts: 77

Rep: Reputation: 15
Ping command is acting weird

I'm using redhat and Im having problems with Ping command.If I ping some PC it keeps on receiving replies and I can't stop it.If on the other hand I Ping some nonexisting PC it frozes the OS(if Linux in text mode) or terminal window

Is this normal behaviour and how do I stop it?

thank you and bye

Last edited by xailer; 11-17-2003 at 08:11 AM.
Old 11-17-2003, 08:46 AM   #2
Registered: Aug 2003
Posts: 46

Rep: Reputation: 15
Hello xailer,

The ping command in Linux works a little bit differently than in Windows by default. You can customize it to send a certain number of packets, change the size of the packets, and many other options.

To stop the ping command just hold down your Ctrl key and hit the C key at the same time. It will show you the statistics your most likely used to.

You can read up on all the switches to make ping act the way you would like by issuing the command "man ping" , this will open the man page for the ping command that will show you all the options you can use. You can get out of this man page by typing Q (scroll through it with your arrow keys).

Here is a very interesting article from Linux Gazette that will show you some common uses and practices with ping. It also has a simple table with the best options for ping.

I would ignore the first part with the perl example unless you are interested in perl.

Good Luck!
Old 11-17-2003, 09:37 AM   #3
Registered: Nov 2003
Posts: 77

Original Poster
Rep: Reputation: 15
Excellent...thank you very much


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
apache acting weird Red Squirrel Linux - Software 2 08-19-2005 08:47 PM
Networkcard is acting weird Rolby Linux - Hardware 2 06-26-2004 01:45 PM
cdrom acting weird Vindane Slackware 5 05-30-2004 12:53 AM
apache acting weird... Red Squirrel Linux - Newbie 1 03-03-2004 08:29 PM
IPCHAINS is acting weird Snabber Linux - Networking 11 08-08-2003 10:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 PM.

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