软链接可以跨越文件系统界线。
在清单5中,我们创建了一个坏的软链接。
首先,让我们看一下如何创建硬链接和软链接。
您可以使用ln命令和- s选项创建软链接。
You use the ln command with the -s option to create soft links.
一共有两种类型的符号链接:硬链接和软链接。
软链接使用文件名或目录名,这些名称可能是相对或绝对的。
Soft links use file or directory names, which may be relative or absolute.
直接使用以上命令,不带任何附加参数,则创建对一个文件的软链接。
Using the command without any extra options creates a soft link to a file.
直接使用以上命令,不带任何附加参数,则创建对一个文件的软链接。
Using the command without any extra options creates a soft link to a file.
应用推荐