How to create soft links in linux

王林
王林Original
2020-05-14 11:05:325488browse

How to create soft links in linux

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:

How to create soft links in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn