UNIX - Copying a File
Posted Mr.Meeseeks
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UNIX - Copying a File相关的知识,希望对你有一定的参考价值。
To make a duplicate copy of a file, use the command cp. For example, to create an exact copy of the file called firstfile, you would type:
cp firstfile secondfile
This results in two files with different names, each containing the same information. The cp command works by overwriting information. If you create a different file called thirdfile and then type the following command:
cp thirdfile firstfile
you will find that the original contents of firstfile are gone, replaced by the contents of thirdfile.
以上是关于UNIX - Copying a File的主要内容,如果未能解决你的问题,请参考以下文章
effective条款15,在资源管理类中小心copying行为
hadoopmaster主机上传文件出错: put: File /a.txt._COPYING_ could only be replicated to 0 nodes instead of minR