I want to get an overview of external links on my websites. Ideally I want to control everything myself with open source tools I can run from my own laptop or server. I started playing around with some shell commands but I'm hoping there's something out there that works already. If not I'm happy to extend my shell script (and publish it on GitHub). Here are some lines...

wget -mk $D
grep href -are $D

Anything out there that already does what I want? Or something I can easily patch together?

Ideally I also want the anchor text and info whether the link is nofollow or not.

1 Answer 1


If you have Lynx installed this is super easy to do with lynx -dump -listonly http://example.com/somepage.html

  • This is great! Would be nice to somehow also get anchor text and do/nofollow info.
    – the
    Mar 25, 2015 at 16:34
  • For that you'd need to do something with regular expressions. Mar 25, 2015 at 18:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.