I try to concatenate large files (some GB) in bash. I tried
cat file1 file2 file3 > result
and it didn't work while
cat file1 file2 file3 >> result
worked. In both occasions the file result didn't exist before and my expectation would be, that both commands give the same result.
On the same system I tried the same thing with small files (just some bytes) and both commands produce the same output. I tried to find some explanation (for example here) but couldn't find any...
So, I know how to solve my problem, but I'm still puzzled. Is anyone able to produce a clue?