Redirect STDOUT & STDERR to file and then on screen

view full story

http://www.unix.com – Dear all, redirecting STDOUT & STDERR to file is quite simple, I'm currently using: Code: exec 1>>/tmp/tmp.log; exec 2>>/tmp/tmp.log But during script execution I would like the output come back again to screen, how to do that? Thanks Lucas (HowTos)