snippetbashTip
linkchecker — Client to check HTML documents and websites for broken links. More information: <https://linkchecker
Viewed 0 times
htmlcommandclientlinkcheckerandclicheckdocuments
Problem
How to use the
linkchecker command: Client to check HTML documents and websites for broken links. More information: <https://linkchecker.github.io/linkchecker/man/linkchecker.html>.Solution
linkchecker — Client to check HTML documents and websites for broken links. More information: <https://linkchecker.github.io/linkchecker/man/linkchecker.html>.Find broken links on <https://example.com/>:
linkchecker {{https://example.com/}}Also check URLs that point to external domains:
linkchecker --check-extern {{https://example.com/}}Ignore URLs that match a specific
regex:linkchecker --ignore-url {{regex}} {{https://example.com/}}Output results to a CSV file:
linkchecker --file-output {{csv}}/{{path/to/file}} {{https://example.com/}}Code Snippets
Find broken links on <https://example.com/>
linkchecker {{https://example.com/}}Also check URLs that point to external domains
linkchecker --check-extern {{https://example.com/}}Ignore URLs that match a specific `regex`
linkchecker --ignore-url {{regex}} {{https://example.com/}}Output results to a CSV file
linkchecker --file-output {{csv}}/{{path/to/file}} {{https://example.com/}}Context
tldr-pages: common/linkchecker
Revisions (0)
No revisions yet.