Published on: September 12, 2014 by Arnold Pablo
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
find /dir/to/check -type l ! -xtype l
Category : Howtos, Linux, Troubleshooting