Pipes
Lesson 14 of 20 · Term.Micro
`|` connects the output of one command to the input of the next.
The Unix idea: each tool does one thing well, and | joins them. ls photos | wc -l counts the entries: the list never touches the screen, it goes straight into wc.
Check yourself
What does | connect?
Do it in the browser: a real the Linux terminal tool, a short mission and instant feedback. No install.
Start this lesson — free