linkCheck / README.md /
Yanik Cawidrone Updated README.md
0ec97dc 6 years ago
1 contributor
31 lines | 1.017kb

linkCheck

CLI tool to check links in a web page and the status returned.

Requirements

  • bash or compatible shell
  • curl

Logging

Errorthing is logged in linkCheck.log

Output

$ ./linkCheck https://arstechnica.com/about-us/
------------------------------------------------------------------
Checking links on https://arstechnica.com/about-us/
ResponseCode : 200
Found 44 links
200 : https://arstechnica.com/about-us/ ABS
200 : https://arstechnica.com/advertise-with-us/ ABS
200 : https://arstechnica.com/affiliate-link-policy/ ABS
200 : https://arstechnica.com/amendment-to-conde-nast-user-agreement-privacy-policy/ ABS
200 : https://arstechnica.com/cars/ ABS
200 : https://arstechnica.com/civis/ ABS
200 : https://arstechnica.com/civis/ucp.php?mode=sendpassword ABS
200 : https://arstechnica.com/contact-us/ ABS
200 : https://arstechnica.com/features/ ABS
200 : https://arstechnica.com/gadgets/ ABS
200 : https://arstechnica.com/gaming/ ABS
301 : http://arstechnica.com/about-us/?theme=dark