#!/bin/sh # list broken symlinks in the current directory. find . -type l ! -exec test -r {} \; -print