In bash script,
echo "error" 1>&2 | tee -a log
will print stderr in screen but no log to file, how to do these at same time?
See Question&Answers more detail:osIn bash script,
echo "error" 1>&2 | tee -a log
will print stderr in screen but no log to file, how to do these at same time?
See Question&Answers more detail:os