Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2000 22:04:08 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Archie Cobbs <archie@whistle.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: basic sh(1) question
Message-ID:  <20000530220408.F99925@strontium.scientia.demon.co.uk>
In-Reply-To: <200005302013.NAA33987@bubba.whistle.com>
References:  <200005302013.NAA33987@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Archie Cobbs wrote:

> In sh(1), how do I make both the stdout and stderr output of a command
> get piped together into another command?

foo 2>&1 | bar

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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