Note (2025-11-03 20:39)

Please be advised that the following was written or last updated a while ago and may therefore contain outdated information or opinions I no longer hold. 请知悉下文自写作或上次更新已届相当时限,或包含过时信息及已摒弃观点。

Do piped programs run sequentially or in parallel?”:

Piped commands are run in parallel. They keep reading from the pipe until they are terminated, they finish their work, or they receive an end-of-file indicator. When a pipe (or the data read from a pipe) gets too large, the command is terminated to prevent the system from running out of RAM.