append output to .in file linux code example Example: how to append program output to file linux java AccessBSTApp | tee -a BSTAppCaseThree.out