Linux OS Management Question:

Deleting a soft-link:
a) Deletes the destination file
b) Deletes both the softlink and the destination file
c) Deletes just the softlink
d) backup of the destination is automatically created

Linux Operating System Management Interview Question
Linux Operating System Management Interview Question

Answer:

c) Deletes just the softlink


Previous QuestionNext Question
If two files on same partition point to the same inode structure they are called:
a) Soft links
b) Hard links
c) Alias
d) Special files
A user creates a link to a file file1 using the following command "ln file1 file2". Which of the following is not true?
a) file1 and file2 have the same inode numbers
b) The number of links for file1 is displayed as 1
c) The number of links for file1 is displayed as 2
d) The number of links for file2 is displayed as 2