On Fri, Jun 23, 2006 at 06:45:51PM +0000, Nickolay A Burkov wrote: > Here is a very simply hack to ping. It isn't pretend to something, hope > it will be useful for anybody as endless host checking in scripts. > > % ping -Q example.com && echo 'abc' > /dev/speaker # etc..
Doesn't $ ping -c 1 example.com do what you want?

