Originally Posted by nahawand
How do I stop the ping command in slackware?
I know this doesn't help once you have made the mistake, but it is worth noting that you can limit the number (& rate) of pings when you issue the ping command. So:
ping -c 10 www.google.ca
would set the ping count to 10, so it would only do 10 pings and then stop. And:
ping -i 5 www.google.ca
would set a ping interval of 5 seconds. And you can combine these:
ping -c 1000 -i 10 www.google.ca
would send a ping once every 10 seconds for 1000 pings. In other words "I'd quite like it to keep pinging at a relatively slow rate, but I don't want it to go on forever, just in case I forget about it". Useful if you are waggling all the CAT 5 connectors to see if an intermittent in one of those is causing your network to fail.
If you are round the back of your machine, examining the way entropy turns organised cables into knotted spaghetti at the time, the -a switch (audible) may be worth looking at too. That way, you'll really get to hear why it is called 'ping'. All of this, and much else, brought to you by courtesy of 'man pages'!