1.

Which option is used with cp command for linking files instead of copying?(a) -v(b) -l(c) -f(d) -xI had been asked this question in an internship interview.My question is taken from Copying a File: cp Command topic in division Handling Ordinary Files of Unix

Answer»

The correct option is (b) -l

Easy explanation: -l option is USED with cp command for LINKING FILES INSTEAD of copying. When one file has more than one FILENAMES, we say that the file has more than one link. This file can be accessed by more than one filename.



Discussion

No Comment Found

Related InterviewSolutions