BashPipelines


Syntax

  • [time [-p]] [!] command1 [ | or |& command2 ] …

Remarks

A pipeline is a sequence of simple commands separated by one of the control operators | or |& (source).

| connects the output of command1 to the input of command2.

|& connects standard output and standard error of command1 to the standard input of command2.