How to Hide Wget Output in Linux? [Closed]

I don't want to see any message when I use wget. I want to suppress all the output it normally produces on the screen.

How can I do it?

2

Why don't you use -q?

From man wget:

-q
--quiet
   Turn off Wget's output.

Test

$ wget 
--2015-05-08 14:07:42--  
Resolving  ()... 
  (...)
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’

    [ <=>                                                                                       ] 17,913      --.-K/s   in 0.01s   

2015-05-08 14:07:42 (1.37 MB/s) - ‘index.html’ saved [17913]

And:

$ wget -q 
$
0
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest