1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 15:55:24 +02:00
tldr/pages/common/linkchecker.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

20 lines
584 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 regular expression:
`linkchecker --ignore-url {{regular_expression}} {{https://example.com/}}`
- Output results to a CSV file:
`linkchecker --file-output {{csv}}/{{path/to/file}} {{https://example.com/}}`