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
More on Linux and shell
What does exit code 0 mean, and how do you see the last command's exit code?BeginnerWhat do the permissions `755` and `640` mean?BeginnerHow do you find which process is using the most CPU right now?BeginnerWhat is a zombie process?IntermediateSIGTERM vs SIGKILL?BeginnerWhat does `load average: 4.00 2.00 1.00` tell you?Intermediate