[コマンド]tee:stdinを入力してstdout、fileに書き込む
tee
tee
コマンドは次のとおりです.既存>>とパイプの欠点
$ ls -al >> file.txt
$ ls -al | awk '{print($1)}'

tee:redirect+stdout出力
tee:>+表示
$ ls -al > file.txt
$ ls -al | tee file.txt

tee-a:>+表示
$ ls -al >> file.txt
$ ls -al | tee -a file.txt

Reference
この問題について([コマンド]tee:stdinを入力してstdout、fileに書き込む), 我々は、より多くの情報をここで見つけました https://velog.io/@markyang92/명령-tee-stdin을-입력받아-stdout-file에-writeテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol