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

Rep: Reputation: 15
Ping command is acting weird


hi
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 09:11 AM.
 
Old 11-17-2003, 09:46 AM   #2
dr0ker
Member
 
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.

http://www.linuxgazette.com/issue56/eyler.html

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

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

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


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


All times are GMT -5. The time now is 06:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration