What does “wget -O” mean?

后端 未结 4 1590
长情又很酷
长情又很酷 2020-12-23 13:51

I have an wget command like this in my shell script:

reponse=\"`wget -O- http:localhost:8080/app/index.html`\"

I don\'t understand the -O-

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 14:46

    for the manual of wget: use man wget if you are on Unix platform. Else, try "man page wget" on google.

    The -O- stand for "Get as a file and print the result on STDOUT"

提交回复
热议问题