title: Linux command output as a parameter of another command
body: <p>I would like to pass the output list of elements of a command as a parameter of another command. I have found some other pages:  </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/10116358/how-to-display-the-output-of-a-linux-command-on-stdout-and-also-pipe-it-to-anoth">How to display the output of a Linux command on stdout and also pipe it to another command?</a></li>
  <li><a href="https://stackoverflow.com/questions/9635705/use-output-of-bash-command-with-pipe-as-a-parameter-for-another-command">Use output of bash command (with pipe) as a parameter for another command</a> </li>
  </ul>
  
  <p>but they seem to be more complex.</p>
  
  <p>I just would like to copy a file to every result of a call to the Linux <code>find</code> command.</p>
  
  <p>What is wrong here?:</p>
  
  <pre><code>find . -name myFile 2&gt;&amp;1 | cp /home/myuser/myFile $1
  </code></pre>
  
  <p>Thanks</p>