Tag Archives: tee

Two methods to redirect output for “set -x”

I found that the standard direct cannot redirect the output of the “set -x”, following is two methods to redirect output for “set -x” by google and my co-worker: 1: ./test.sh > test.log 2>&1 2: test.sh 2>&1 | tee -a … Continue reading

Posted in Programming Skill | Tagged , , , , | Leave a comment