DELAPARRA
Index
Color
NL
Category: CLI commands

wget

Explained by Updated

What is wget?

wget: Web Get — Download files from a URL. wget downloads files from the web on the command line. wget https://example.com/file.zip saves the file in the current folder. -O sets the output name, -c resumes an interrupted download, and -r can download whole sites recursively. It is handy on servers without a browser, in scripts and in Dockerfiles. Compared with curl, wget is focused on downloading and handles resuming and recursion well; curl is more flexible for working with APIs.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about wget

What should you keep in mind with wget?

Verify what you download before running it, especially install scripts. Piping a downloaded script straight into a shell runs whatever the server sends, which could be changed by an attacker. Check checksums or signatures when the publisher provides them, and prefer package managers for installing software where possible.

At a glance

CategoryCLI commands
Explained by
Updated

More CLI commands terms

All terms starting with W

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.