You can use the ln -s command to create a soft link. The specific usage of this command:
ln -s 源文件 目标文件
Example:
Create a soft link for a file Link, create a soft link link2013 for the log2013.log file. If log2013.log is lost, link2013 will become invalid.
ln -s log2013.log link2013
Output:
Recommended tutorial: linux tutorial
The above is the detailed content of How to create soft links in linux. For more information, please follow other related articles on the PHP Chinese website!