A student wishes to create symbolic links in a computer system running Unix.…

GATE · 2005 · ITModified — slightly modified from the official paper; see the solution

A student wishes to create symbolic links in a computer system running Unix. Three text files named file1, file2 and file3 exist in her current working directory, and the student has read and write permissions for all three files. Assume that file1 contains information about her hobbies, file2 contains information about her friends and file3 contains information about her courses. The student executes the following sequence of commands from her current working directory:

ln -sf file1 file2
ln -sf file2 file3

Which of the following types of information would be lost from her file system? (I) Hobbies (II) Friends (III) Courses

  1. A.

    (I) and (II) only

  2. B.

    (II) and (III) only

  3. C.

    (II) only

  4. D.

    (I) and (III) only

Attempted by 107 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…