Create a soft link in linux, modify, and delete

linux soft link

create

ln -s [source file or directory] [destination file or directory]

modify

ln -snf [new source file or directory] [destination file or directory]

delete

rm -rf soft link name

Note that the above this form may lead people to worry, fear not just remove soft links, as well as the source folder contents inside, but I found the answer is no. However, if you still worried about such a thing could happen, then rm 软链接名称, that is, without -rf also possible.

Failing to determine, using the ln --helpView Help

Guess you like

Origin www.cnblogs.com/jiading/p/12153329.html