| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: Unix tee command
The second one copies output to the log file.
It still appears on your screen as well.
Jared
Erik Williams
<ewilliams_at_bro To: Multiple recipients of list ORACLE-L
<ORACLE-L_at_fatcity.com>
wnco.com> cc:
Sent by: Subject: OT: Unix tee command
root_at_fatcity.c
om
07/11/01 07:12
AM
Please respond
to ORACLE-L
I do not understand the difference between these two commands:
script_file > log_file
script_file | tee log_file
As I understand, the first runs and redirects its standard output to a log file. The second runs and pipes its standard output to the tee command, which copies its standard input into its standard output. I have been instructed to use the latter, but dont want to do it blindly without understanding why.
Thanks
Erik
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Erik Williams INET: ewilliams_at_brownco.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Wed Jul 11 2001 - 12:19:04 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Jared.Still_at_radisys.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |