软链接本质上相当于一个标准的快捷方式。
Soft symbolic links work essentially the same as a standard shortcut.
要还原到其他位置,从根处键入以下命令(需要一个到此新目录的软链接)
To restore to a different location, key in the following command from root (you need a soft link to this new directory)
当你打开一个软链接,系统会将当前路径转向到文件的实际存储位置。
When you open a soft link, you will be redirected to the folder where the files are stored.
软链接或符号链接仅根据名称(而非inode)指向另一个文件或目录。
Soft links, or symlinks, merely point to another file or directory by name rather than by inode.
删除一个软链接不会删除目标文件或目录,且删除目标文件或目录不会自动删除任何软链接。
Deleting a soft link does not delete the target file or directory, and deleting the target file or directory does not automatically remove any soft links.
一个硬链接是指向inode的一个目录条目,而一个软链接或符号链接是指向提供另一目录条目名称的inode的一个目录条目。
A hard link is a directory entry that points to an inode, while a soft link or symbolic link is a directory entry that points to an inode that provides the name of another directory entry.
清单3向您展示了为我们刚才创建的file1创建软链接的两种方法,还展示了如何创建软链接,而非清单2中创建失败的两个硬链接。
Listing 3 shows you two ways to create a soft link for the file1 that we just created, and also how to create soft links instead of the two hard links that failed in Listing 2.
您也可以在 DB2fenced用户的根目录中创建一个splog 目录,并在 ~/sqllib/splog 中创建一个指向这个 splog 目录的软链接 (soft link)。
You can also create a splog directory in the fenced user's home directory, and create a soft link at ~/sqllib/splog pointing to this splog directory.
当阶段2加载之后,GRUB 就可以在请求时显示可用内核列表(在 /etc/grub.conf中进行定义,同时还有几个软符号链接 /etc/grub/menu.lst和 /etc/grub.conf)。
With stage 2 loaded, GRUB can, upon request, display a list of available kernels (defined in /etc/grub.conf, with soft links from /etc/grub/menu.lst and /etc/grub.conf).
同红色链接一样,如果某人想将条目链接到其目标,一个软重定向同样可以作为创建链接的邀请。
A soft redirect can also be useful if one wants to link to it from its target, as an invitation to create an article, like a red link.
同红色链接一样,如果某人想将条目链接到其目标,一个软重定向同样可以作为创建链接的邀请。
A soft redirect can also be useful if one wants to link to it from its target, as an invitation to create an article, like a red link.
应用推荐