title: Randomly shuffling lines in Linux / Bash
body: <p>I have some files in linux. For example 2 and i need shuffling the files in one file.</p>
  
  <p>For example</p>
  
  <pre><code>$cat file1
  line 1
  line 2
  line 3
  line 4
  line 5
  line 6
  line 7
  line 8
  </code></pre>
  
  <p>and </p>
  
  <pre><code>$cat file2
  linea one
  linea two
  linea three
  linea four
  linea five
  linea six
  linea seven
  linea eight
  </code></pre>
  
  <p>And later that i shuffling the two files i can obtain something like:</p>
  
  <pre><code>linea eight
  line 4
  linea five
  line 1
  linea three
  line 8
  linea seven
  line 5
  linea two
  linea one
  line 2
  linea four
  line 7
  linea six
  line 1
  line 6
  </code></pre>