It is not safe. Symlinks are often used to record information in the filename, and don’t actually point to a file, so are dangling but not safe to remove. In a list of dangling symlinks you may recognize some you created in the past and forgot to remove, so those are certainly safe to remove, but symlinks you didn’t created need to be investigated before removal.
gnwiii
(George N. White III)
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Symlinks deleted by mistake? | 18 | 1267 | June 22, 2023 | |
| F44 Change Proposal: Hardlink identical files in packages by default (self-contained) | 25 | 844 | October 26, 2025 | |
| Removing deleted files that are still in use | 1 | 147 | July 18, 2025 | |
| Is dnf autoremove safe? | 7 | 32842 | November 10, 2024 | |
| Broken Symlink (target directory does not exist) | 4 | 109 | February 21, 2026 |