From: Webpro (aielloster@gmail.com)
Date: Thu May 11 2006 - 11:28:53 EDT
I have been struggling to redirect standard error and standard out how I
want them to be directed. I have been through the Sun documentation and
many, many web sites with no luck.
I have a script that we use to install and configure some applications. What
I am trying to accomplish is redirecting standard error to a log file and to
the terminal/console.
- I am using KSH
- Standard out is redirected to a log file and all standard out from system
commands and scripts I am calling are redirected to this log file. The
operator only sees the standard out I let them see
- Standard error should be redirected to the same log file plus I want it on
the console/terminal too. I want operators to see the error and have it in
the log
- I currently redirect standard out to log.file and standard error to
log.file.trap since I could not get the redirect to work.
Is this doable?
-- "Despite the high cost of living, it still remains popular!" _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:51 EDT