checklink
tool to verify the links in a web page are still valid
Install
- All systems
-
curl cmd.cat/checklink.sh
- Debian
-
apt-get install w3c-linkchecker
- Ubuntu
-
apt-get install w3c-linkchecker
- Kali Linux
-
apt-get install w3c-linkchecker
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install w3c-linkchecker
- Raspbian
-
apt-get install w3c-linkchecker
- Dockerfile
- dockerfile.run/checklink
w3c-linkchecker
tool to verify the links in a web page are still valid
The checklink tool is a program that reads an HTML or XHTML document, extracts a list of anchors and links and checks that no anchor is defined twice and that all the links are dereferenceable, including the fragments. It warns about HTTP redirects, including directory redirects, and can check recursively a part of a web site. The program can be used either as a command line tool or as a CGI script. The official site is available as http://validator.w3.org/checklink.