title: Running multiple commands in one line in shell
body: <p>Say I have a file <code>/templates/apple</code> and I want to</p>
  
  <ol>
  <li>put it in two different places and then</li>
  <li>remove the original.</li>
  </ol>
  
  <p>So, <code>/templates/apple</code> will be copied to <code>/templates/used</code> AND <code>/templates/inuse</code>
  and then after that I’d like to remove the original.</p>
  
  <p>Is <code>cp</code> the best way to do this, followed by <code>rm</code>? Or is there a better way?</p>
  
  <p>I want to do it all in one line so I’m thinking it would look something like:</p>
  
  <pre><code>cp /templates/apple /templates/used | cp /templates/apple /templates/inuse | rm /templates/apple
  </code></pre>
  
  <p>Is this the correct syntax?</p>