12

mirror STDOUT and STDERR to file by default

view full story
linux-howto

http://serverfault.com – How I can accomplish STDOUT to be to logged in a file (appending), but preserving the flow (leave STDOUT to STDOUT) ? STDOUT should work transparently, but should be logged also into a file, without messing with "tee" on each command input. Same for STDERR. Simply, mirror output to file. (HowTos)