Linux wget output to stdout 2020-06-13 02:46

Use the following command to output the result of the wget command to the screen instead of saving it to a file.

[work@computer xxy]$ wget -O-
--2020-06-13 14:29:20--
Connecting to connected.
HTTP request sent, awaiting response... 200 OK
Length: 262 [text/html]
Saving to: ‘STDOUT’

 0% [                                                                                                           ] 0           --.-K/s              <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>
<title>Directory listing for /data/</title>
<h2>Directory listing for /data/</h2>
<li><a href="web.log">web.log</a>
<li><a href="web.log.18">web.log.18</a>
100%[==========================================================>] 262         --.-K/s   in 0s      

2020-06-13 14:29:20 (56.0 MB/s) - written to stdout [262/262]