How to run wget quietly

The wget command is used to download urls. It can be called using the -q parameter for quiet, so not output or status are writtent in the output.

Run the following command:


	wget http://oliviertech.com -q
 

Example:

By default the output of wget shows the response codes from the server and the status of the download. This can be useful for files that are quite big.
The following example first runs the download quietely with the -q argument, then download the file without the parameter.


$ wget http://oliviertech.com -q

Olivier@jupiter ~
$ wget http://oliviertech.com
--2017-04-20 11:00:38--  http://oliviertech.com/
Resolving oliviertech.com (oliviertech.com)... 45.55.113.93, 104.236.156.154
Connecting to oliviertech.com (oliviertech.com)|45.55.113.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13617 (13K) [text/html]
Saving to: ‘index.html.4’

index.html.4        100%[===================>]  13.30K  --.-KB/s    in 0.006s

2017-04-20 11:00:38 (2.28 MB/s) - ‘index.html.4’ saved [13617/13617]

References:

GNU Wget

Share this article:

Recent Comments