将输出通过管道传递给
tee命令。
例:
[me@home]$ echo hello | tee out.txthello[me@home]$ cat out.txt hello
请注意,标准输出
echo已打印出来并写入thr
tee命令指定的文件中。

将输出通过管道传递给
tee命令。
例:
[me@home]$ echo hello | tee out.txthello[me@home]$ cat out.txt hello
请注意,标准输出
echo已打印出来并写入thr
tee命令指定的文件中。