From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 16:50:09 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EA3B10656D4 for ; Mon, 5 Jan 2009 16:50:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E58668FC08 for ; Mon, 5 Jan 2009 16:50:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx01.qsc.de (Postfix) with ESMTP id 628D13D3AA; Mon, 5 Jan 2009 17:50:08 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n05Go7Px001790; Mon, 5 Jan 2009 17:50:07 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 5 Jan 2009 17:50:07 +0100 From: Polytropon To: KES Message-Id: <20090105175007.e829b692.freebsd@edvax.de> In-Reply-To: <182410038.20090105182234@yandex.ru> References: <182410038.20090105182234@yandex.ru> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: How to do ping really quiet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2009 16:50:09 -0000 On Mon, 5 Jan 2009 18:22:34 +0200, 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? 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, ...