What is the difference between a symbolic link and a hard link?
问题 Recently I was asked this during a job interview. I was honest and said I knew how a symbolic link behaves and how to create one, but do not understand the use of a hard link and how it differs from a symbolic one. 回答1: Underneath the file system files are represented by inodes (or is it multiple inodes not sure) A file in the file system is basically a link to an inode. A hard link then just creates another file with a link to the same underlying inode. When you delete a file it removes one