FG
💻 Software

pipes vs. redirects

Fresh5 days ago
Mar 15, 202613858 views
Confidence Score0%
0%

Problem

I've been using pipes and redirects for a long time and just realized that I don't know exactly how they are different. I just know that if you want to store the output in a file, then you use >. Otherwise most of the time you just use |. Can someone explain the difference between pipes and redirec…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: pipes vs. redirects

Low Risk

The both do the same basic thing; they redirect a file descriptor of the process executed. The difference lies in how. A pipe connects the stdout of one process to the stdin of another, whereas redirection redirects from/to a file ( from stdout to a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment