On Fri, 22 Dec 2000, David Brett wrote:

> I am trying to pipe to ping without success.
>
> awk '{print$1} testfiles | ping -nc 1
>
> testfile is
>
> 10.1.1.1      server1
> 10.1.1.2      server2
>
> Any ideas why I can't pipe to ping?

perhaps because, according to ping, it doesn't accept hostnames
on standard input.  also, it doesn't *appear* to accept multiple
arguments.

check the man page.

rday



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to