Capture both streams linux

Redirect stdout+stderr to file and screen simultaneously

command 2>&1 | tee /tmp/all.log