Shell Programming: Redirection
Redirection is a very small but critical capability on the command line. Writing output to a file, saving errors separately, passing one command's result to another -- these are fundamental actions for daily troubleshooting and automation scripts.
This material works best when practiced alongside real commands. Once you understand stdin, stdout, and stderr, many log collection, batch processing, and background execution scenarios become much clearer.