Redirection and Here-Documents

1 / 13

Every process starts with three files already open: standard input (0), standard output (1), and standard error (2). Redirection is how a script rewires them — and getting it right is the difference between a cron job that tells you what went wrong and one that fails in silence.

Finish →