> 11", which means copying the contents of file 22 to the end of file 11, ">> " symbol means appending."/> > 11", which means copying the contents of file 22 to the end of file 11, ">> " symbol means appending.">
Home > Article > Operation and Maintenance > How to copy the contents of one file to the end of another file in Linux
Problem description:
For example, the file content of 11 is:
hello
22’s file content is:
worldCopy 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