cat 0 out−err.txt 1 2 fd 2 becomes a copy of fd 1 cat good nofile 2>&1 > out−err.txt cat 0 out−err.txt 1 2 out−err.txt fd 2 becomes a copy of fd 1 cat good nofile > out−err.txt 2>&1