如何连接流?


9

我知道cat可以串联文件,但是我需要串联文件和的混合并将结果通过管道传送到另一个进程。

为了使问题更具体,我想与串联cat abc.sql在一起,gzip -dc xyz.sql.gz并将cat qvf.sql其作为单个流传送到mysql

实现此目标的最佳方法是什么?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.