由网友(薄荷微凉少年时)分享简介:我有两个文件:file1 和 file2.如何将 file2 的内容附加到 file1 以便 file1 的内容保持进程?I have two files: file1 and file2. How do I append the contents of file2 to file1 so that contents...
我有两个文件:file1
和 file2
.如何将 file2
的内容附加到 file1
以便 file1
的内容保持进程?
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?
推荐答案
使用 bash 内置重定向 (tldp):
cat file2 >> file1
相关推荐
最新文章