Network

wget

Non-interactive network downloader for retrieving files via HTTP, HTTPS, and FTP.

Synopsis

syntax
wget [OPTION]... URL...

Examples

Download a file
wget https://example.com/file.tar.gz
Resume interrupted download
wget -c https://example.com/large.iso
Download and pipe to bash
wget -qO- https://example.com/script.sh | bash
Mirror an entire website
wget --mirror --convert-links https://site.com

Common options

FlagDescription
-OOutput filename
-qQuiet mode
-cContinue partially downloaded file
-rRecursive download
--mirrorMirror a website
-bRun 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

Related tools