This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to save the screen output into log file?

Hi,

I want to save all the screen output such as printf output messages into a log file. As on board there is no tee command, we could not use "./run.sh | tee > log.txt". The ./store_log.sh could just save the system messages.

Could someone know how to save all the messages released by the program?

Thanks in advance!