Re: How to do ping really quiet?

2009-01-07 Thread Chris Cowart
KES wrote: > Thx. This help, but seems ugly. Because of I can miss other maybe > usefull errors (( > ping -q ya.ru 2>/dev/null > > Any other suggestions? ping -q ya.ru 2>&1 1>/dev/null | grep -v 'ping: sendto: No route to host' >&2 Send ping stderr to stdout, throw away ping stdout, use grep to

Re: How to do ping really quiet?

2009-01-05 Thread andrew clarke
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 >&

Re[2]: How to do ping really quiet?

2009-01-05 Thread KES
Hello, Frederique. FR> 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? >> FR> Try: FR> sh -c 'ping -q ya.ru > /dev/null 2>&1' man ping -q Quiet output. Nothing is displayed except th

Re: How to do ping really quiet?

2009-01-05 Thread Frederique Rijsdijk
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 ___ freebsd-questions@freebsd.org mailing list http://li

Re: How to do ping really quiet?

2009-01-05 Thread Polytropon
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 whic

How to do ping really quiet?

2009-01-05 Thread KES
Hello, Questions. When I use ping -q ya.ru I get ping: sendto: No route to host How to make ping really quiet? KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/list