On Sun, Aug 27, 2023 at 1:10 PM Jörg-Volker Peetz <jvpe...@web.de> wrote: > > to...@tuxteam.de wrote on 24/08/2023 14:00: > > > > A couple of days ago I was searching for dangling symlinks. > > > > find . -follow -lname "*" > > > How about > find -L . -type l
The symlink tool works great, too: symlink -r / | grep dangling You can also delete them, once you verify they are dangling: symlink -r -d / In fact, it is a recommended post-upgrade step for Fedora. See <https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/#sect-clean-up-old-symlinks>. (I'm not arguing with you. I'm just responding to the title change). Jeff