Skip site navigation (1)Skip section navigation (2)
Date:      9 Jan 2011 03:51:35 -0000
From:      John Levine <johnl@iecc.com>
To:        freebsd-questions@freebsd.org
Cc:        modulok@gmail.com
Subject:   Re: Is there a 'Y' (i.e. branch) version of a command pipe?
Message-ID:  <20110109035135.44799.qmail@joyce.lan>
In-Reply-To: <AANLkTinhOLxthkGrZ309ZOnPpKux6FGyTbUtG5wOMqot@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>Is there a command that lets me send standard input to two different
>places at the same time? (i.e. non-sequentially.) Think of it like a
>pipe character, but with a 'Y' branch instead. Basically, I want to
>record standard input to a log file, but also send it to another
>command for processing.

$ man tee

R's,
John



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