1.直接覆盖日志文件# ls -l | tee ./t.log # make | tee make.log2.将输出内容附加到日志文件# ls -l | tee -a ./t.log# make image | tee -a make_image.log