How do I remove a symlink?

前端 未结 6 1711
猫巷女王i
猫巷女王i 2021-01-30 19:27

i just created the symlink sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib and am wondering how i get rid of it if I wanted

6条回答
  •  花落未央
    2021-01-30 19:58

    Somehow I had a symlink to a non-existing folder. Have no idea how it happened but to remove it I found the easiest way was open in finder and manually delete it. I came to this decision after an hour wasted on trying to delete it with the Terminal.

提交回复
热议问题