Displaying stdout to screen and file, stderr only to file

view story

http://www.linuxquestions.org – Hi guys, I'm trying to figure out how I can have the stdout from my script print to the screen and a log file, and have stderr print only to the log file. And if possible, have it sequenced correctly (since I've read that because of stdout and stderr being handled by buffers differently, ordering might be rearranged). Anyone know how I can accomplish this? (HowTos)