title: send output to file from within shell script
body: <p>I'm creating a script for users to run. I need to redirect the output to a file I'm creating from inside the script (hostname-date). </p>
  
  <p>I have all the pieces except for how to copy the output of the script from inside the same script. All the examples I can find call the script and > it into the log, but this isn't an option.</p>
  
  <p>-Alex</p>