$wget
Non-interactive network downloader for HTTP, HTTPS, and FTP.
wget [OPTIONS] [URL...]Try `wget` Live in Interactive Sandbox
Zero-install client simulation with real-time feedback.
Overview & How wget Works
`wget` is a robust file downloader capable of recursive directory downloading, resuming interrupted transfers, and running unattended in the background.
Common Flags & Command Options
| Flag / Option | Description |
|---|---|
| -c, --continue | Resume getting a partially-downloaded file. |
| -b, --background | Go to background immediately after startup. |
| -O [file] | Write documents to specified filename. |
| -r, --recursive | Specify recursive web crawling and downloading. |
Practical Real-World Examples
wget https://example.com/installer.shDownloads installer.sh directly into the current directory.
Frequently Asked Questions
What is the main difference between curl and wget?
`wget` is specialized for downloading files, recursive mirroring, and resuming transfers. `curl` is a broader data transfer tool for interacting with REST APIs and sending complex requests.
Related Linux Commands
Transfer data from or to a server using HTTP, HTTPS, FTP, and more.
Send ICMP ECHO_REQUEST to network hosts to test connectivity and latency.
Print network connections, routing tables, interface statistics, and listening ports.
Securely log into remote Linux servers and execute commands over encrypted connections.
Securely copy files and directories between hosts over SSH connection.
Fast and versatile remote and local file-copying and synchronization tool.