mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 09:58:46 +00:00
Update cheatsheets
This commit is contained in:
25
linkchecker
Normal file
25
linkchecker
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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/}}`
|
||||
Reference in New Issue
Block a user