11 · The Command Line

stdin

Standard input stream

The input channel a process reads from—keyboard by default, or the output of a previous command when piped. Pair of stdout/stderr.

Concrete example

`cat file.txt | wc -l` sends the file down the next command’s stdin.

Why it matters

How command pipelines feed data without temporary files.