Home > Operation and Maintenance > Linux Operation and Maintenance > How to create soft links in linux

How to create soft links in linux

王林
Release: 2020-05-14 11:05:32
Original
5497 people have browsed it

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 源文件 目标文件
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template