Capture both streams

Redirect stdout+stderr to file and screen simultaneously

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

tool
linux133 commands
tags
linux

More linux commands

all 133 linux commands