Linux anexa ao arquivo
echo "some text or code or input here here" >> destiny_file.txt
-
echo "some text or code or input here here" >> destiny_file.txt
cat file2 >> file1