Author: techfox9

Find broken symlinks in Linux ..

Wednesday, March 24th, 2010 @ 2:21 pm

From zulutips.com ..

for lx in `find . -type l`
do
  if [ ! -e $lx ]
  then
    echo $lx
  fi
done

Linux


 


Comments are closed.