Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash tee stdout and stderr

command > >(tee stdout.log) 2> >(tee stderr.log >&2)
 
PREVIOUS NEXT
Tagged: #bash #tee #stdout #stderr
ADD COMMENT
Topic
Name
1+9 =