From what I\'ve read, bash is supposed to truncate files when it opens them. However after I run the command echo hello > file1 | ls > file1 > file2, s
echo hello > file1 | ls > file1 > file2