In this command:
wget -qO- https://get.speedify.com | bash -
Source: https://support.speedify.com/article/562-install-speedify-linux
...the first -q is the option for "quiet" mode. What is the O- (notice that is the letter "O", NOT a zero) part though? Why the letter O? Why the trailing -? Finally, after the bash command there is also a trailing -. Why?
Update: now that I know that is the letter O, NOT a zero, I see this from the man wget manual pages:
-O file --output-document=file The documents will not be written to the appropriate files, but all will be concatenated together and written to file. If - is used as file, documents will be printed to standard output, disabling link conversion.
So, -qO is the same as -q -O, and -O sets the output file, and -O- apparently says to print the document to standard output. I wonder why they didn't do -O=- or -O - though...?
Not a duplicate:
This question answers the smallest, least-relevant, and least-significant part of my question: Do command line options take an equals sign between option name and value?. It does not answer my question.