title: echo to stderr and tee to log file?
body: <p>In bash script,</p>
  
  <blockquote>
    <p>echo "error" 1>&amp;2 | tee -a log</p>
  </blockquote>
  
  <p>will print stderr in screen but no log to file, how to do these at same time?</p>