Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2009 17:35:20 +0100
From:      Frederique Rijsdijk <free@isafeelin.org>
To:        KES <kes-kes@yandex.ru>
Cc:        questions@freebsd.org
Subject:   Re: How to do ping really quiet?
Message-ID:  <496236C8.6080407@isafeelin.org>
In-Reply-To: <182410038.20090105182234@yandex.ru>
References:  <182410038.20090105182234@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
KES wrote:
> Hello, Questions.
> 
> When I use
> ping -q ya.ru
> I get
> ping: sendto: No route to host
> 
> How to make ping really quiet?
> 


Try:

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



-- FR



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496236C8.6080407>