./program 2>&1 | tee program.log

CategoryComputing.Shell