Linux Commands Helper
💬 Your AI-powered Linux assistant
wget Command - Download Files from the Internet
The wget command is a non-interactive network downloader. It supports HTTP, HTTPS, and FTP protocols, and is widely used for downloading files from the web via the command line.
Syntax
wget [options] url
Examples
wget https://example.com/file.zip
Download a file from a URL.
wget -c https://example.com/largefile.iso
Resume a partially downloaded file.
wget -r -np -k https://example.com/docs/
Recursively download a website for offline viewing.
Notes
- wget can be used in scripts and cron jobs for automated downloads.
- Use
-c
to continue interrupted downloads. - For advanced features, see
wget --help
or the man page.