THINK OF REDICTION AS "ASSIGNMENT" ====================================================================== You may find the order of redirections difficult to grasp: # redirect both stdout and stderr to a file: some_command >stdout_and_err.log 2>&1 If you think about redirection as "from this to that", then you may find above counter-intuitive: why `>` before `2>&1`? Isn't that counter-intuitive? But if you think of it as assignment in programming languages, it's much easier: ``` # first, **let** stdout be equal to `stdout_and_err.log`: STDOUT = stdout_and_err.log # then, **let** stderr be equal to stdout (which at this point is stdout_and_err.log STDERR = STDOUT ```