Cheat Sheet速查表
跳转到主要内容

Shell 命名管道 速查表

本文根据 Devhints / Shell: named pipes 翻译。代码示例及版本范围沿用原文。

命名管道

diff <(ls ./old) <(ls ./new)

这会创建一个虚拟文件,其内容为……的输出结果 ls ./old.

参考资料