Skip to main content
[Edit removed during grace period]
Link
AymenTM
  • 277
  • 3
  • 9
Post Closed as "Duplicate" by Kusalananda linux
Source Link
AymenTM
  • 277
  • 3
  • 9

In what format does piped output get sent and received from one command/program to another?

When a command is piped to another command in what way or in what format does the piped output exist/get sent? Is it a temporary file? Is it a string? And how does the command that receives the piped output decode/read that output?


Example:

echo "Someone string" | ./program | tail

Does the program "program" receive the output of echo as a file? How would the program read in that input?