Linux failed to create soft link

王林
Release: 2020-02-14 15:07:18
Original
5274 people have browsed it

Linux failed to create soft link

Example:

Make a soft link to the test folder in the /Devops/live-student/ directory. If the connection destination path is the same as the source file, that is/ Devops/live-student/ (or ~), then you can use a relative path in the command line, as follows:

ln -s live-1.0-SNAPSHOT-PROD-12/ /Devops/live-student/
Copy after login

(recommended related video tutorials:linux video tutorial)

But if the destination path is different from the source path, you need to use an absolute path, as follows:

ln -s /Devops/live-student/live-1.0-SNAPSHOT-PROD-12 /tmp/
Copy after login

Otherwise, the connected folder will be inaccessible, as shown in the figure:

Linux failed to create soft link

Related article tutorial sharing:linux tutorial

The above is the detailed content of Linux failed to create soft link. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!