There could be situations where you see lots of dead symbolic links inside a folder. As in the example below there are 15828 symbolic (soft links) but there are only 188 files which are working symblolic links while all others are dead. So we need a way to identify working symlinks in a folder.
# ls -lst | wc -l 15828
Command to identify working symlinks inside a folder is to execute the below command.
find /dir/to/check -type l ! -xtype l
Warning
While googling, you may find options to use find . -L -type l .. DON’T USE THIS. It may cause unexpected results.

