1 True or False With a hard link if you remove the source fi
1. True or False: With a hard link, if you remove the source file, the link file will still have access to the file contents.
2. The command
ln file1 file2
creates a(n):
directory
hard link
absolute path
symbolic
| A. | directory | |
| B. | hard link | |
| C. | absolute path | |
| D. | symbolic |
Solution
1) True : hardlink will still have the access to contents of file.It will be able to access until the number of hardlinks to file doesnot become 0 and this functionality works because of inodes.
2) The command ln is used to make links between files or directories and the syntax provided here will create a hard link which will be called file2 and it points to file1.
