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?
Question
Answer
Use bash builtin redirection (tldp):
cat file2 >> file1
2023-02-14
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?
Use bash builtin redirection (tldp):
cat file2 >> file1