#author("2026-05-16T20:53:55+09:00","","")
#author("2026-05-16T20:54:21+09:00","","")
#nofollow
#norelated
総数:&counter(total); 今日:&counter(today); 昨日:&counter(yesterday);

* もくじ [#gc5000a8]

#contents

&size(22){&color(blue){tee};};&br;

参考url: &br;
[[Linux リダイレクトコマンド 2>&1について端的に解説>https://qiita.com/arunbababa/items/28ba95615b28b1c120de]]&br;
[[teeコマンドの使い方>https://qiita.com/wnoguchi/items/2fc3ec11043d139dc6bb]]&br;

[[Memorandums]]

-標準出力(通常のメッセージ)だけでなく、エラー出力(標準エラー出力)もまとめてファイルに書き出したい場合は 2>&1 を末尾に付けます
-画面に表示しながら全て出力する場合
 command 2>&1 | tee output.txt
 $ command 2>&1 | tee output.txt

トップ   差分 バックアップ リロード   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS