1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 10:15:25 +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

584 B

linkchecker

Client to check HTML documents and websites for broken links. More information: https://linkchecker.github.io/linkchecker/.

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/}}