Overview
Wget is a non-interactive network downloader for retrieving files via HTTP/HTTPS/FTP.
Why It Matters
Wget is essential for downloading files from the web and mirroring entire websites.
Essential Commands
wget https://example.com/file.zipDownload file from URL
wget -c https://example.com/large.isoResume interrupted download
wget -O output.html https://example.comSave response to specific filename
wget -r -np -k https://example.com/docs/Recursively mirror docs site
wget --limit-rate=500k https://example.com/fileThrottle download bandwidth
wget --spider https://example.comCheck URL availability without downloading
Quick Start
Begin by learning download files with retry and resume support
Key Concepts
Download files with retry and resume support
Mirror websites recursively
Use authentication and cookies for secure downloads
Pro Tips
- Combine multiple commands for powerful workflows
- Use aliases to speed up your command entry
- Create scripts to automate repetitive tasks
Common Pitfalls to Avoid
- • Forgetting to check the documentation for edge cases
- • Running commands without understanding their full impact
- • Not testing changes in a safe environment first