title: Executing multiple unix commands at once
body: <p>Here are my commands for a task.</p>
  
  <pre><code>find -name myname.tar
  tar -xvf myname.tar
  rm -r myname/*
  </code></pre>
  
  <p>These multi line commands are working fine, but I need a one line command. Then I used this command,</p>
  
  <pre><code>find -name myname.tar | tar -xvf myname.tar | rm -r myname/*
  </code></pre>
  
  <p>I get this error: </p>
  
  <pre><code>"rm -r myname/*
  rm: cannot remove `myname/*': No such file or directory "
  </code></pre>
  
  <p>can some one help me in this?</p>
  
  <p>Thanks</p>