<div dir="ltr">I think I figured it out. Put into a file. then execute the file with the redirection.<div>I need to change the permissions of the file though. Is that correct>?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 25, 2016 at 4:50 PM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How do I redirect the out put of this to a file?<div><br></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:13px">while [ true ]; do </span><br style="font-family:arial,helvetica,sans-serif;font-size:13px"><span style="font-family:arial,helvetica,sans-serif;font-size:13px">  date +'%s'|tee -a log.log </span><br style="font-family:arial,helvetica,sans-serif;font-size:13px"><span style="font-family:arial,helvetica,sans-serif;font-size:13px">  df -x tmpfs|tee -a log.log </span><br style="font-family:arial,helvetica,sans-serif;font-size:13px"><span style="font-family:arial,helvetica,sans-serif;font-size:13px">  sleep 10 </span><br style="font-family:arial,helvetica,sans-serif;font-size:13px"><span style="font-family:arial,helvetica,sans-serif;font-size:13px">done </span><span class="HOEnZb"><font color="#888888"><br style="font-family:arial,helvetica,sans-serif;font-size:13px"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>