wget command
Download files from the web, with resume and recursive download.
- Downloads & file transfer
- Package wget
- 9 options · 7 examples
Syntax
wget [options] URL…Provided by the wget package. Run man wget for the full manual.
Common options
| Option | What it does |
|---|---|
-O FILE | Save as FILE |
-P DIR | Save into DIR |
-c | Resume a partial download |
-b | Download in the background |
-q | Quiet |
-i FILE | Download every URL listed in FILE |
-r | Recursive download |
--limit-rate=RATE | Limit speed, e.g. 1m |
--no-check-certificate | Skip TLS checks |
Examples
Download a file
wget https://example.com/file.tar.gzSave with another name
wget -O latest.zip https://example.com/downloadSave into a directory
wget -P /tmp https://example.com/file.isoResume a broken download
wget -c https://example.com/big.isoDownload a list of URLs
wget -i urls.txtLimit the speed
wget --limit-rate=2m https://example.com/big.isoMirror a site for offline use
wget --mirror --convert-links --page-requisites --no-parent https://example.com/docs/
No example matches. Check the options table or search the guides.
wget guides
- 5 Wget Examples to Download Files on Linux Command Line Linux Commands · Updated Apr 2025
- Wget – Download files to Specific Directory Linux Commands · Updated Apr 2025
- Wget Command in Linux with Examples (Download Files) Linux Commands · Updated Apr 2025
- How to Ignore SSL Certificate Check with Wget Linux Commands · Updated Apr 2025
- Redirecting the Output of wget to /dev/null in Cron Networking · Updated Apr 2025
