How to find broken symbolic links

To display a list of the broken links, replacing ${directory} with the desired root directory

 * as explained at http://ynform.org/w/Pub/UnixSymbolicLink

To display a list of the broken links, with where they link to



 * all one line, if there are broken links it will display them with ls -l

To REMOVE the broken links




None of these methods will detect cyclic links. For information on that, see:
 * http://ynform.org/w/Pub/FindCommandDetectUnixCyclicSymbolicLink