I don't quite understand how the computer reads this command.
cat file1 file2 1> file.txt 2>&1
If I understand, 2>&1 simply redirect Standard Error to Standard Output.
By that logic, the command reads to me as follows:
concatenate files
file1andfile2.send
stdoutfrom this operation tofile.txt.send
stderrtostdout.end?
I'm not sure what the computer's doing. By my logic, the command should be
cat file1 file2 2>&1 > file.txt
but this is not correct.