创建文件夹的符号链接

问题描述:

进入文件夹 /usr/local/var 我想创建一个符号链接 run 指向 /var/run 文件夹.但我很困惑如何正确创建链接.我应该最初创建 run 文件夹吗?

Into the folder /usr/local/var I would like to create a symbolic link run that point to /var/run folder. But I'm quite bit confused how to correctly create the link. Should I create initially the run folder?

你可以像这样创建它,而无需之前创建的东西:

You can create it like this without the need of creating something before:

 ln -s /usr/local/var /var/run