Skip to main content


Showing posts from May, 2019

Deals You Can't Miss

1 Year Subscription

What is -O- option in wget?

The Quick Answer -O flag is the short notation for the flag --output-document in wget command-line utility. The hypen  -  after the flag denotes STDOUT . Thus, wget -O-  or  wget -O -  prints the result returned  from that URL in your terminal output or STDOUT . Learn By Example wget -O  writes the output to index.html file wget -O custom.txt  writes the output to your custom.txt file as mentioned wget -O -  writes output to your terminal's STDOUT  References Man page My community at StackOverflow .