1.

Which of the following is not an option of cp command?(a) -z(b) -i(c) -R(d) -uThe question was asked in exam.Asked question is from Copying a File: cp Command in portion Handling Ordinary Files of Unix

Answer» CORRECT choice is (a) -z

For explanation: cp command has MANY options available, each of which performs a unique task. (-i)is used for interactive copying (i.e.) it warns the USER before overwriting the DESTINATION file.(-R) is used for copying the entire directory structure into another directory structure. (-u) copies only when the source file is newer than the destination file.


Discussion

No Comment Found

Related InterviewSolutions