Hard link vs soft link?

BeginnerConceptLinux and shell
Answer

A hard link is another name for the same inode. It survives deletion of the original but can't cross filesystems or point to directories. A symlink is a separate file holding a path, and it breaks if the target is removed.

ln file hard; ln -s /path/file soft
All Real-World Interview questions Roadmap: Interview readiness

More on Linux and shell