Download files, mirror sites and automate transfers from the shell with a single versatile tool. 29.05.2026 | reading time: 3 min You need to fetch files from the internet quickly and repeatably; wget is the tool that gets it done from the shell, non-interactively and script-friendly. A simple download Run this to fetch a single file and see wget in action: ```bash wget https://example.com/sample.tar.gz```; typical output shows connection, byte count and saved filename like Saving to: 'sample.tar.gz' 100% 1.2M 120KB/s, so the file ends up in the current directory. Resume an interrupted transfer If a download fails, resume it with continue; example command: ```bash wget -c https://example.com/large.iso```; output will report 'Resuming download' and append remaining bytes instead of restarting from zero. Mirror a website for offline use Create a local copy of a site subtree with recursion and link conversion: ```bash wget -r -np -k https://example.org/docs/```; wget will follow links under the docs path, avoid parent directories and rewrite links for local browsing. Practical knobs you will use Use `-O` to set the output filename, `-q` for quiet, `-b` to background a job, `--limit-rate` to cap bandwidth, `-t` and `--wait` to control retries and politeness, `-c` to continue, and `-N` for timestamp checks; for HTTPS with self-signed certs `--no-check-certificate` works but weakens security so avoid it on production downloads. When automation meets authentication Automate authenticated downloads with `--user` and `--password` for basic auth, or supply cookies and headers with `--load-cookies` and `--header`; combine wget in shell scripts to schedule periodic mirrors or incremental backups. Limitations and security notes wget excels for simple and scripted transfers but lacks some advanced protocol features and multi-connection download acceleration; prefer secure HTTPS endpoints and avoid disabling certificate checks unless you understand the risk. Other tools to reach for For single-request flexibility use curl, for synchronized file replication use rsync, and for segmented parallel downloads consider aria2 as a faster alternative. Wrap up and next steps Mastering wget gives you a reliable building block for automation, backups and troubleshooting; explore more network and scripting tools, and consider formal certification like CompTIA Linux+ or LPIC-1 with intensive exam preparation at bitsandbytes.academy to turn practical skills into proof of competence. Join Bits & Bytes Academy First class LINUX exam preparation. network utilities scripting backup troubleshooting