I think I figured it out. Put into a file. then execute the file with the redirection. I need to change the permissions of the file though. Is that correct>? On Sun, Sep 25, 2016 at 4:50 PM, Michael wrote: > How do I redirect the out put of this to a file? > > while [ true ]; do > date +'%s'|tee -a log.log > df -x tmpfs|tee -a log.log > sleep 10 > done > > -- > :-)~MIKE~(-: > -- :-)~MIKE~(-: