Seeking for Dead Links

w/ Linkchecker

grab the latest release

wget http://ftp.debian.org/debian/pool/main/l/linkchecker/linkchecker_9.4.0-2+b1_amd64.deb
dpkg -i linkchecker_9.4.0-2+b1_amd64.deb 
apt-get -f install

from source

#git clone https://github.com/wummel/linkchecker.git
#cd linkchecker/
#pip3 install -r requirements.txt

run

linkchecker http://pub.nethence.com/

DIY & CURL

find out about ALL dead links on a specific page

wget http://pub.nethence.com/bin/deadlink.ksh.txt
cp deadlink.ksh.txt deadlink.ksh
chmod +x deadlink.ksh

Alternatives

Other free linkcheckers https://wummel.github.io/linkchecker/other.html

Trash

not very effective (only first level?)

wget --spider -r --relative -nd -nv http://pub.nethence.com/
#-l9

Resources

How to check the first character in a string in Bash or UNIX shell? https://stackoverflow.com/questions/18488270/how-to-check-the-first-character-in-a-string-in-unix

How To Find Broken Links on Your Website Using Wget on Debian 7 https://www.digitalocean.com/community/tutorials/how-to-find-broken-links-on-your-website-using-wget-on-debian-7


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml