linux wget code example

Example 1: linux wget example

wget http://website.com/files/file.zip

Example 2: wget

The simplest way to use wget is to provide it with the location of a file to download over HTTP. For example, to download the file http://website.com/files/file.zip, this command:


$ wget http://website.com/files/file.zip


...would download the file into the working directory.

There are many options that allow you to use wget in different ways, for different purposes.

Example 3: linux wget command

wget command use to download the files

# wget https://linuxconcept.com/testfile.zip