Get the Most Out of Your Open-Source Software With Redirection in Bash

Written By
JK
Juliet Kemp
Mar 15, 2010

“It took me ages to learn bash redirection properly, and I still
have to concentrate sometimes to keep my &s and my >s
straight. Here’s the lowdown in case you, too, have intermittent
brain failure on this one.

“Bash has three standard file descriptors: stdin, stdout and
stderr, which refer respectively to input, output and error output.
By default, all of these are directed to the terminal, so all input
comes from the terminal, and all output (regular and error) will go
to the terminal.”


Complete Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.