I have two files: file1
and file2
. How do I append the contents of file2
to file1
so that contents of file1
persist the process?
8 Answers
Use bash builtin redirection (tldp):
cat file2 >> file1