On Mon 2009-01-05 18:22:34 UTC+0200, KES (kes-...@yandex.ru) wrote:

> When I use
> ping -q ya.ru
> I get
> ping: sendto: No route to host
> 
> How to make ping really quiet?

You can redirect all output to /dev/null:

For /bin/sh:

ping -c 1 host > /dev/null 2>&1

For /bin/csh:

ping -c 1 host >& /dev/null
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to