title: redirect curl output to stdout and log files
body: <p>How do i get curl output on both stdout and log files?</p>
  
  <p>This will redirect to log files.</p>
  
  <pre><code>curl -o $OUTPUTFILE 2&gt;&gt;$LOGFILES $url
  </code></pre>
  
  <p>And this will show output on stdout.</p>
  
  <pre><code>curl -o $OUTPUTFILE $url
  </code></pre>