I have a process that is causing a reboot. I'd like to capture any console messages to the messages are not lost. How can I do that?
1 Answer
Bash redirect:
program > stdout_log 2> stderr_log If you want to append instead of overwriting:
program >> stdout_log 2>>stderr_log