[cs631apue] Copy file to an exist file

Tyler Romeo tromeo at stevens.edu
Thu Sep 17 02:31:28 EDT 2015


The professor can correct me if I'm wrong, but the functionality should be
the same: copying will overwrite the destination file.

Tyler Romeo
Stevens Institute of Technology
Class of 2016

On Wed, Sep 16, 2015 at 9:56 PM, Shicong Huang <shuang14 at stevens.edu> wrote:

> Hi professor,
> What should the tcp program do if it copys the source file to an exist
> target file?
> I used cp under this condition, it directly overwrote the target with
> source file.
> Sincerely,
> Shicong
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20150917/706c84bc/attachment.html>

More information about the cs631apue mailing list