2007-04-01 画面に表示しつつ、ファイルに出力 Linux echo `date` | tee test.log echo "てすと" | tee -a test.log tee -a test.log は、追記。