Output redirection

Rouben Rostamian rouben at math9.math.umbc.edu
Mon Oct 29 17:44:24 AEST 1990


In article <1990Oct27.003901.3533 at aplcen.apl.jhu.edu> ejmag at aplcen (Eric Magnusson) writes:
 >I recently saw a unix command which will redirect stdout both to a file
 >and the screen.  Can any body refresh my memory as to what it is?

Look up the man page for tee(1).

Example of usage:

        echo Hello World | tee filename

--



More information about the Comp.unix.shell mailing list