且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何删除符号链接?

更新时间:2023-02-02 21:44:47

就像删除其他文件一样删除它: rm/usr/lib/libmysqlclient.18.dylib .rm会删除符号链接本身,而不是链接所指向的文件.

Remove it just like you would any other file: rm /usr/lib/libmysqlclient.18.dylib. rm will remove the symlink itself, not the file the link is pointing at.