Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: exec shell command
tterrian_at_daas.dla.mil wrote:
>Here is a good one for you, I have been doing something in my korn shell scripts
>which I really never understood and now need to change. :-)
>
>I have the following line that sends the output from the shell script to a log
>file:
>exec > db_heartbeat.log 2>&1
>
>At the bottom of my shell script I now want to stop sending the output to the
>log file and instead print the log file to the screen.
>
>Does anyone know how to turn of the exec line?
>
put a '#' in front of it.;-) well that comments it out so it doesn't
run anyway.
>
-- -- Bill "Shrek" Thater ORACLE DBA bthater2_at_netscape.net ------------------------------------------------------------------------ You gotta program like you don't need the money, You gotta compile like you'll never get hurt, You gotta run like there's nobody watching, It's gotta come from the heart if you want it to work. ------------------------------------------------------------------------ Close your eyes and press escape three times. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: bill thater INET: bthater2_at_netscape.net 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).Received on Tue Jan 22 2002 - 13:55:01 CST