Computing.Net > Forums > Linux > Ping command is being weird

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Ping command is being weird

Reply to Message Icon

Name: just_hey
Date: November 17, 2003 at 04:11:24 Pacific
OS: linux red hat
CPU/Ram: celeron 1600/512
Comment:

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

thanx

Is this normal behaviour and how do I stop it?



Sponsored Link
Ads by Google

Response Number 1
Name: unixhead
Date: November 17, 2003 at 08:29:12 Pacific
Reply:


ctrl-alt-C stops the ping. By default, it's a continuous ping.

You can set it to ping only once with an alias command in your .bashrc:

alias ping='ping -c1"

Or, you could type:

ping -c1 www.somewhere.com



0

Response Number 2
Name: unixhead
Date: November 17, 2003 at 08:30:33 Pacific
Reply:

oops.

That should have been:

alias ping='ping -c1'

in your .bashrc


0

Response Number 3
Name: drake
Date: November 17, 2003 at 10:21:46 Pacific
Reply:

windows also has this capacity but its not default
ping 1.1.1.1 -t
-t tells it to continue pinging


0

Response Number 4
Name: unixhead
Date: November 18, 2003 at 06:15:11 Pacific
Reply:

The fact that Windows has any capacity to ping is due to Unix. Particularly, BSD -- since that was the system the ping utility was written for:

http://ftp.arl.mil/~mike/ping.html


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Ximian Connector I want to see ppt slides ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Ping command is being weird

ping command www.computing.net/answers/linux/ping-command/26959.html

ping port www.computing.net/answers/linux/ping-port/10841.html

tracing pppd while connecting www.computing.net/answers/linux/tracing-pppd-while-connecting/23317.html