mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 22:22:18 +02:00

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Seth Falco <seth@falco.fun> Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
20 lines
595 B
Markdown
20 lines
595 B
Markdown
# linkchecker
|
|
|
|
> Command-line 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/}}`
|