1.

-n option is used with cp command for what purpose?(a) existing file should not be overwritten(b) to update file(c) interactive copying(d) recursive copyingThis question was posed to me in exam.My enquiry is from Copying a File: cp Command topic in section Handling Ordinary Files of Unix

Answer»

Correct OPTION is (a) existing file should not be overwritten

For explanation I would SAY: -n option is used with cp command when we do not WANT to want to overwrite the existing file. It MEANS that if the destination file already EXISTS, then it should not be overwritten.



Discussion

No Comment Found

Related InterviewSolutions