Problem description:
For example, the file content of 11 is:
hello
22’s file content is:
world
Copy the content of file 22 to the end of file 11. The effect of file 11 is:
hello world
Solution:
cat 22 >> 11
linux tutorial The above is the detailed content of How to copy the contents of one file to the end of another file in Linux. For more information, please follow other related articles on the PHP Chinese website!cat /dev/null > a.txt