Introduction
Sometimes when you run commands, errors appear on the screen mixed with normal messages. Stderr redirection lets you save or hide these error messages separately so your screen stays clean or you can check errors later.
When you want to save error messages from a command to a file for later review.
When you want to hide error messages so they don't clutter your terminal output.
When you want to add new error messages to an existing error log without overwriting it.
When you want to separate normal output and error messages into different files.
When debugging scripts and you want to capture only the errors.