2010-01-24 tee 標準出力とファイルに同時書きだす。 データ整理 teeというコマンドは 実行結果を標準出力とファイルに同時書きだすことが できる。 $echo "hello" | tee tmp hello $cat tmp hello $ls | tee tmp $cat tmp