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
8

Use bash builtin redirection (tldp):

cat file2 >> file1

Leave a Reply

Your email address will not be published. Required fields are marked *