Workbook 5: The Linux Filesystem: Chapter 2: Hard and Soft Links Flashcards
1
Q
What is a hard link and why would you create one?
A
A hard link is a link to file
Linux users want the same file to exist two separate places [17]
2
Q
What would happen if you deleted a hard link
A
is not said to delete a file, but “unlink” it
3
Q
What does the hard link look like in a directory listing?
A
It have the two dentry from the owner and other users linked to one inode and data
4
Q
What is a soft (a.k.a. symbolic) link?
A
assigning a single file two names is called a soft link [19]
5
Q
Give a command line that creates the soft link today.todo so that it refers to tuesday.todo.
A
ln -s today.todo tuesday.todo