1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-06 17:15:44 +02:00
tldr/pages/common/linkchecker.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

20 lines
560 B
Markdown

# linkchecker
> Client to check HTML documents and websites for broken links.
> More information: <https://linkchecker.github.io/linkchecker/>.
- 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/}}`