Wednesday, October 17, 2007

ping keep shell

If you don't want an SSH session to timeout you can leave the following command running.
ping -i 30 $host
This command sends a single ping to $host every 30 seconds by using ping's interval option.

No comments: