RE: Unix tee command

2001-07-11 Thread Vergara, Michael (TEM)
Erik: This is from the HP-UX man page for tee: DESCRIPTION The tee command transcribes the standard input to the standard output and makes copies in the files. What this means in relative English is that the output is recorded to a file (as in script_file > log_file) but you see it

RE: Unix tee command

2001-07-11 Thread Norrell, Brian
The tee command duplicates its input, sending one copy to the file, and the other to the screen (or the next command in the pipe). You get to see your data and save it too. Brian Norrell Manager, MPI Development QuadraMed 511 E John Carpenter Frwy, Su 500 Irving, TX 75062 (972) 831-6600 -O

RE: Unix tee command

2001-07-11 Thread
tee copies its standard input to its standard output AND the log_file. HTH David Lord -Original Message- Sent: 11 July 2001 15:12 To: Multiple recipients of list ORACLE-L I do not understand the difference between these two commands: script_file > log_file script_file

RE: Unix tee command

2001-07-11 Thread Kevin Lange
The TEE command basically duplicates the output. It sends a copy to the file specified and a copy to the standard output. This is the difference in just redirecting it. When you redirect it, none goes to standard out, just to the file specified. -Original Message- Sent: Wednesday, Jul

RE: Unix tee command

2001-07-11 Thread Guy Hammond
The "tee" command simply does what you say: it writes a copy to a file as well as writing it to the console. You could get a similar result by tail -f log_file script_file >log_file & Are you writing a script that needs to have two stream outputs? Or is it important that you watch the script as