Concept Flow - stderr redirection (2>, 2>>)
Run command
Command outputs
stdout (normal output)
stderr (error output)
Redirect stderr?
Yes
Overwrite or Append file
End
When a command runs, it sends normal output to stdout and errors to stderr. Using 2> or 2>> redirects stderr to a file, overwriting or appending.