S
S
Sergey Karbivnichy2020-02-07 19:40:50
linux
Sergey Karbivnichy, 2020-02-07 19:40:50

How to save console output to a file?

strace python3 main.py > out.txt- this saves the output of python, and I need to save the output of strace.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Shubin, 2020-02-07
@hottabxp

strace python3 main.py > out.txt 2>&1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question