Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个指向该文件的符号链接,然后将该文件移动到另一个名称不同的地方。如何通过符号链接获取旧文件的内容?目前,符号链接无效,因为目标不再存在。
谢谢你。
硬链接指向文件内容(实际上是 inode)。符号链接指向路径名。如果旧名称已消失,则您无法使用该链接访问该文件。