FG
💻 Software

How can I break a symbolic link loop?

Fresh5 days ago
Mar 15, 202625709 views
Confidence Score0%
0%

Problem

While I was trying to compile a C shared object library, I accidentally created two symbolic links which point to each other. Is there a way to get rid of them without nuking the whole directory? I read that the only way to break a symbolic link is to delete the file it points to, but I'm sure ther…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I break a symbolic link loop?

Low Risk

It's not a problem to delete symbolic links. I'm not sure why you think that you need to delete the file the link points to. Just delete them. Try this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment