exec question

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Thu Sep 25 2003 - 10:01:37 EDT


Probably a simple question, but I'm at a loss. Google has offered some
suggestions, but nothing helps.

I have a script that does an "exec 1>filename 2>fileerr".

After the task finishes, how do I re-open stdout and stderr again so I can
print stuff on the screen (such as end times and stuff) ?

Thanks, Bill.
--------------------------------------------------------

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:14 EDT