title: Copying a line from one file to another in bash
body: <p>I'm trying to copy a line from file1 and write that line into line 10 of file2 using bash. </p>
  
  <p>Here is what I have tried:</p>
  
  <pre><code>sed -e '10i' file2 &lt;file1
  </code></pre>