FIND LINUX BROKEN SYMLINKS
Find broken symbolic links
A while ago, I was willing to contribute with a GitHub project, but I found some issues with broken links. This situation led me to a question: how can I recursively find all broken links within a directory?
The command below will print the path to any broken symbolic links found in the specified folder and its subfolders.
find /path/to/folder -type l ! -exec test -e {} \; -printLet’s explain each part of the command does:






