On Wed, Jan 12, 2011 at 1:07 PM, Josh Trutwin <josh at trutwins.homeip.net> wrote:
> Curious if anyone can help me with this - I have a long running script
> and I'd like to redirect both stdout and stderr to a log file, as well
> as have the output visible on the console (that last part I could live
> without - just run a tail -f after execution).

I use something like this:

% (loader.sh 2>&1) | tee load.log

Cheers,
J