Find broken symbolic links
find broken symlinks linux | symlink points to nothing | find dangling symlinks | find orphaned links | find | symlinkfind /var/www/vhosts/example.com -xtype l -ls-xtype l matches symlinks that cannot be resolved because their target was deleted or moved. The output shows the link and its stored target. Common after migrations, release switches or removed PHP versions.
Note: Links to targets without read permission also show up here. If in doubt, run the command as root.
Also searched as
- find broken symlinks linux
- symlink points to nothing
- find dangling symlinks
- find orphaned links