Check whether a URL can be reached without saving it.
wget --spider https://example.com/Retrieve a file from a URL. Check the source before downloading or running it.
wget [OPTION]... [URL]...Check whether a URL can be reached without saving it.
wget --spider https://example.com/Resume a partial download when the server supports it.
wget -c https://example.com/archive.tar.gz| Option / clause | Description |
|---|---|
-O FILE, --output-document=FILE | Write downloaded content to FILE. |
-c, --continue | Resume a partially downloaded file where supported. |
-P DIR, --directory-prefix=DIR | Save files under DIR. |
-q, --quiet | Turn off wget output. |
--spider | Check a URL without saving its contents. |
--limit-rate=RATE | Limit the download rate. |
-r, --recursive | Download recursively; depth and scope need care. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.