Pipe

noun

say it: “PYPE” /paɪp/

The | symbol in a terminal that sends one command's output into the next command as its input.

What is Pipe?

A pipe | sends the output of one command into the next, so small tools can be combined into powerful ones.

cat access.log | grep "404" | wc -l

In a sentence

  • “Each pipe in the line hands one command's output to the next.”
  • “cat access.log | grep 404 uses a pipe to send the log into grep.”

Level: Apprentice · More Unix terms at this level

Updated

In other subjects