Find broken Links

1 · Benjamin Cane · Aug. 19, 2011, 8:32 p.m.
At the end of the day this is easier than I expected. Example: [root@bcane play]# find ./ -follow -lname "*" ./somedir4 ./somedir7 ./somedir6 ./somedir5 [root@bcane play]# ls -la total 12 drwxrwxr-x. 3 bcane bcane 4096 Aug 15 18:35 . drwxrwxrwt. 4 root root 4096 Aug 15 18:28 .. drwxr-xr-x. 2 bcane root 4096 Aug 15 18:42 somedir lrwxrwxrwx. 1 root root 7 Aug 15 18:35 somedir1 -> somedir lrwxrwxrwx. 1 root root 7 Aug 15 18:35 somedir2 -> somedir lrwxrwxrwx....