Intermediate Linux & Shell Scripting
Q41 / 100

What is the difference between a "hard link" and a "symbolic link" (symlink)?

Correct! Well done.

Incorrect.

The correct answer is A) A hard link directly references the same inode as the original, so the data persists even if the original name is deleted; a symbolic link is a separate file holding a path to another file, and breaks if the target is removed

A

Correct Answer

A hard link directly references the same inode as the original, so the data persists even if the original name is deleted; a symbolic link is a separate file holding a path to another file, and breaks if the target is removed

Explanation

Hard links share the same inode as the original (so the data persists as long as any hard link exists), and cannot cross filesystem boundaries, while symlinks are pointers to a path that become "dangling" if the target is deleted or moved.

Progress
41/100