Three Streams: Output, Errors and Input

Every command has three streams, output, errors and input, and redirection sends each where you choose, with 2> for errors, &> or > file 2>&1 for both together, /dev/null to throw them away and < to read a file in.

Updated

Cheat sheet for the lesson Three Streams: Output, Errors and Input: Every command has three streams, output, errors and input, and redirection sends each where you choose, with 2> for errors, &> or > file 2>&1 for both together, /dev/null to throw them away and < to read a file in.
Category
Bash
Level
Apprentice
Tags
dev-null, linux, redirection, standard-streams, unix