From owner-freebsd-questions@FreeBSD.ORG Wed May 16 15:42:13 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A661816A406 for ; Wed, 16 May 2007 15:42:13 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6E53A13C468 for ; Wed, 16 May 2007 15:42:13 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.145] (helo=anti-virus03-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1HoLdk-0008Nm-7J; Wed, 16 May 2007 16:42:12 +0100 Received: from [62.31.10.181] (helo=[192.168.23.2]) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1HoLFm-0000nl-0W; Wed, 16 May 2007 16:17:26 +0100 Message-ID: <464B2085.6010700@dial.pipex.com> Date: Wed, 16 May 2007 16:17:25 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: Nino Ivanov References: <000501c797c8$2492c3c0$d900000a@eniac> In-Reply-To: <000501c797c8$2492c3c0$d900000a@eniac> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Piping across machines? - a suggestion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 15:42:13 -0000 Nino Ivanov wrote: >Dear Sir or Madam, > >I am still a newbie in some respects, so maybe this idea is a moot point >or done already, but in case it is not, I'd like to suggest it: > >One nice thing about unix is this piping, like programX | programY | >programZ... > >Well, I just thought: Wouldn't it be interesting if this were possible - >in the same simplicity - over several machines as well? Like, something >similar to: machine1:programX | machine2:programY | machine3:programZ... >Machines could be identified by a name or an IP-Address. > > programX | ssh machine2 programY | ssh machine3 programZ works for pretty much any reasonable(*) choice of programY or programZ --Alex (*) terminal-based programs like less won't always work.