Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
linux管道在两个输入文件中的输出_Linux_Pipe_Standards - Fatal编程技术网

linux管道在两个输入文件中的输出

linux管道在两个输入文件中的输出,linux,pipe,standards,Linux,Pipe,Standards,如何将linux管道中的标准输出放入两个输入文件中 我使用一个名为openRTSP的工具,它可以在两个独立的文件中进行标准输出 i、 e.openRTSP>/tmp/file1>/tmp/file2命令是tee。它的名字是明确的 openRTSP | tee /tmp/file1 > /tmp/file2 openRTSP | tee /tmp/file1 /tmp/file2

如何将linux管道中的标准输出放入两个输入文件中

我使用一个名为openRTSP的工具,它可以在两个独立的文件中进行标准输出
i、 e.openRTSP>/tmp/file1>/tmp/file2

命令是
tee
。它的名字是明确的

openRTSP | tee /tmp/file1 > /tmp/file2
openRTSP | tee /tmp/file1 /tmp/file2