ls test.mp4 test.sh 1>/tmp/text 2>&1
cat /tmp/text
ls: cannot access test.sh: No such file or directory
test.mp4
Why the result is not the following order?
test.mp4
ls: cannot access test.sh: No such file or directory
Maybe 1>/tmp/text was executed first, and test.mp4 locate before test.sh.
Which result in the effect?