Using Ksh, I am trying to log both StdOut and StdErr to a file but keep
the exit value of the command and write it to screen.
i.e Something like the following (It is not correct and probably over
I can't seem to get it to work for with StdOut as well.
Basically I want to keep the exit value of "mycommand" and write StdOut
and StdErr to Screen and to the logfile "ErrLog".
Any suggestions for a newbee.