On Mon, 5 Jan 2009 18:22:34 +0200, KES <kes-...@yandex.ru> wrote:
> Hello, Questions.
> 
> When I use
> ping -q ya.ru
> I get
> ping: sendto: No route to host
> 
> How to make ping really quiet?

It depends on your shell. For default scripting shell (Bourne Shell)
you can

        ping -q ya.ru > /dev/null 2>&1

which "suppresses" standard output and error messages.

Within the standard dialog shell (C Shell), I think &> has the same
purpose (refer to "man csh" to be sure).



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
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