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