1.

$ cp file_01.copies the file named file_01 in ____ directory(a) current(b) parent(c) root(d) userThe question was posed to me in an online interview.The doubt is from Absolute and Relative Pathnames in chapter The File System of Unix

Answer» RIGHT option is (a) current

Easiest explanation: The ( . ) represents the current DIRECTORY so the above command will create a copy of file_01 in the current WORKING directory.


Discussion

No Comment Found

Related InterviewSolutions