bash script that pings is not working
Anne Moore
diabeticithink at yahoo.com
Thu Dec 13 03:41:22 UTC 2007
HI All, can anyone help with this bash script?
#!/bin/bash
while [ 1 ]
do
ping some.ip.com
sleep 60
done
# end of script
It's not really working like I need it to be. I'm trying to add this to
everyone's logon profile and run it without the console ICMP replies showing
up while each person is connected (to keep their connections alive). Then,
once they log off, it closes the script.
Any scripting experts out there that can tweak this? Thank you so much for
your time. -Anne
More information about the redhat-list
mailing list