wget
Non-interactive network downloader for retrieving files via HTTP, HTTPS, and FTP.
Synopsis
wget [OPTION]... URL...
Examples
wget https://example.com/file.tar.gz
wget -c https://example.com/large.iso
wget -qO- https://example.com/script.sh | bash
wget --mirror --convert-links https://site.com
Common options
| Flag | Description |
|---|---|
| -O | Output filename |
| -q | Quiet mode |
| -c | Continue partially downloaded file |
| -r | Recursive download |
| --mirror | Mirror a website |
| -b | Run in background |
About wget
The `wget` command non-interactive network downloader for retrieving files via HTTP, HTTPS, and FTP. Networking commands handle connectivity testing, DNS resolution, data transfer, remote access, firewall rules, and traffic analysis.
Linux is the dominant server operating system, and strong networking skills are essential for web hosting, container orchestration, security auditing, and infrastructure management. The command accepts 6 commonly used flags shown above, though the full set of options is available in the man page (`man wget`).
The 4 examples on this page cover typical real-world usage patterns that you can copy and adapt for your own workflows.
Related commands
More Network Commands
Other commands in the Network category