title: Use For and save and saa in diferent files
body: <p>I'm trying to take 2 files from one command, in one file I only put 1 entries and the other complete a list, this is the example:</p>
  
  <p>I tried various commands</p>
  
  <pre><code>#!/bin/bash
      for i in range 4
       do
        echo "test" &gt;one  &gt;&gt;list
      done 
  </code></pre>
  
  <p>I need what in the "one" save the last one loop and in the "list" everyone.</p>