title: tee command with append mode giving error from mysql command line
body: <p>When I am trying to execute below command from the mysql command line client on a linux machine</p>
  
  <pre><code>mysql&gt; tee -a /data/lib/rc.txt;
  </code></pre>
  
  <p>it gives me the following error even though file rc.txt already exists</p>
  
  <blockquote>
    <p>mysql: Can't create/write to file '-a /data/lib/rc.txt' (Errcode: 2)</p>
  </blockquote>