bash script for checking dead links