Paul G. answered 11/23/19
Professional Cybersecurity Engineer
Using the following syntax, you can append to the end of a file.
While the ">" will replace contents, ">>" will append the source to the destination without replacing it.
Paul G. answered 11/23/19
Professional Cybersecurity Engineer
Using the following syntax, you can append to the end of a file.
While the ">" will replace contents, ">>" will append the source to the destination without replacing it.
cat file1 file2 > tmp1
mv tmp1 file1
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.