The Linux Administration group is for the discussion of technical issues technical issues that arise during the administration of Linux systems, including maintaining the operating system and supporting end-user applications.

Popular White Paper On This Topic

On Wed, 4 Jun 2008, Ed Freeze via linuxadmin-l wrote:
> I would like to be able to redirect output to 2 separate files at the same time... Can this be done in linux? And if so, how...
>
> ls > test test1

Hi,
Look at to the character T
if you imagine T has three edge
if you PUMP water from one edge, water will be come out from other two
edje...
use "tee" command
tee - read from standard input and write to standard output and files

On Fri, 6 Jun 2008, jalal.hajigholamali via linuxadmin-l wrote:
> Look at to the character T
> if you imagine T has three edge
> if you PUMP water from one edge, water will be come out from other two
> edje...
> use "tee" command
> tee - read from standard input and write to standard output and files

The 'tee' command goes even further; it can have more than two output streams -- any number of files can be named on the command line, and its input will be sent to all of them.

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.