Skip to content

Instantly share code, notes, and snippets.

@DevoKun
Last active November 16, 2018 02:37
Show Gist options
  • Select an option

  • Save DevoKun/86d00cf2e97edaf8df29c719f176bad8 to your computer and use it in GitHub Desktop.

Select an option

Save DevoKun/86d00cf2e97edaf8df29c719f176bad8 to your computer and use it in GitHub Desktop.
Check for Broken Links using wget
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