Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

terminal output redirect to a file

bash myscript.sh 2>&1 | tee output.log
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #terminal #output #redirect #file
ADD COMMENT
Topic
Name
1+4 =