With a hard link, you can pick any one of the instances of the file, and delete all the rest, and it'll still exist; with symbolic links, you can delete the target file and then all the symbolic links to it will point to a non-existent file!
基于1个网页-相关网页
Race-condition attacks with symbolic links.
使用符号链接的竞争条件攻击。
With symbolic links, it is possible for a single file to have multiple names.
采用符号链接,使一个文件拥有多个不同的名字成为可能。
Remember, in UNIX directories, devices, symbolic links, and other objects are all files, so the test operators shown above will work with every type of file.
请记住,在 UNIX 目录中,设备、符号链接和其他对象都是文件,所以上面的测试操作符适用于所有类型的文件。
应用推荐