문제

By using "ln -s a b", it creates a soft-link from b to a with a relative path. If 'b' is moved to another directory, it would get broken.

Is there any way so I can create an link with an absolute path?

도움이 되었습니까?

해결책

Simply use the full path to the link target:

ln -s /full/path/to/a b
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top