🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Beginner

What is Pipe?

A mechanism that connects the output of one command directly to the input of another, enabling command chaining.

Pipes (|) are fundamental to the Unix philosophy of small, composable tools. For example, cat log.txt | grep ERROR | wc -l counts error lines in a log file by chaining three simple commands.

Named pipes (FIFOs) are special files that allow communication between processes. Pipes enable powerful data processing workflows without creating intermediate files.