1

Redirecting STDERR to file and screen, STDOUT only to file

view story
linux-howto

http://www.unix.com – I have to redirect STDERR messages both to screen and also capture the same in a file but STDOUT only to the same file. I have searched in this formum for a solution, but something like Code: srcipt 3>&1 >&2 2>&3 3>&- | tee errs doesn't work for me... Has anyone an idea??? (HowTos)