What is the difference between a hard link and a symbolic link?
#Reveal answer guidance
A hard link is another directory entry pointing to the same inode — the file exists as long as any hard link remains, and all links are equal. A symlink is a small file that stores a path to another file; it can cross filesystems and link directories, but breaks if the target is moved or deleted. Hard links can't cross filesystems or point to directories.