Checking for Broken Links with Linkchecker
Linkchecker is a command-line tool to check HTML documents and websites for broken links.
Ubuntu Installation
sudo apt-get install linkchecker
MacOS Installation
git clone https://github.com/linkcheck/linkchecker.git
virtualenv venv
source venv/bin/activate
python setup.py build
python setup.py install
Posted in linux