title: How do I sum the rows of two files with each other? (1 column of data in each) in bash
body: <p>For example,</p>
  
  <p>I have two files:</p>
  
  <p>file1.log:</p>
  
  <pre><code>123
  456
  789
  </code></pre>
  
  <p>and </p>
  
  <p>file2.log:</p>
  
  <pre><code>123
  456
  789
  </code></pre>
  
  <p>and I would like to sum them together quickly?</p>
  
  <p>(My actual files have over a million lines each, but equal number of lines.)</p>
  
  <p>The output would be:</p>
  
  <pre><code>246
  912
  1578
  </code></pre>