title: How do I save a script output to a text file with iterating filename?
body: <p>I'm new in bash scripting. I have two questions:</p>
  
  <ol>
  <li><p>Is it possible to save a script output to a text file with a unique file name every time i run the script?</p></li>
  <li><p>Can I put all of these (the command that will generate the output of the script, the looping of file name and the command saving the iterating file name to a text file) in one script?</p></li>
  </ol>