Last active
November 16, 2018 02:37
-
-
Save DevoKun/86d00cf2e97edaf8df29c719f176bad8 to your computer and use it in GitHub Desktop.
Check for Broken Links using wget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget --spider -r -nd -nv http://0.0.0.0:4000/ 2>&1 | tee urlcheck.log | |
| egrep --color=auto -A5000 'Found [0-9]+ broken links.' urlcheck.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment