Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

logging the terminal output to a file

program [arguments...] 2>&1 | tee -a outfile
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #logging #terminal #output #file
ADD COMMENT
Topic
Name
2+1 =