Shell basics — pipes and redirection
This chapter starts from the three streams of standard input, standard output, and standard error, and explains when to use pipes vs. redirection. It covers the difference between overwriting `>` and appending `>>`, why standard error doesn't ride pipes, and combinations with grep.