HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lychee — Find broken URLs. More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#com

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandurlsfindcliinformationmorelycheebroken

Problem

How to use the lychee command: Find broken URLs. More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#commandline-usage>.

Solution

lychee — Find broken URLs. More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#commandline-usage>.

Scan a website for broken links:
lychee {{https://example.com}}


Display a breakdown of error types:
lychee --format detailed {{https://example.com}}


Limit the amount of connections to prevent DDOS protection:
lychee --max-concurrency {{5}} {{links.txt}}


Check files in a directory structure for any broken URLs:
grep {{[-r|--recursive]}} "{{pattern}}" | lychee -


Display help:
lychee --help

Code Snippets

Scan a website for broken links

lychee {{https://example.com}}

Display a breakdown of error types

lychee --format detailed {{https://example.com}}

Limit the amount of connections to prevent DDOS protection

lychee --max-concurrency {{5}} {{links.txt}}

Check files in a directory structure for any broken URLs

grep {{[-r|--recursive]}} "{{pattern}}" | lychee -

Display help

lychee --help

Context

tldr-pages: common/lychee

Revisions (0)

No revisions yet.