I'm getting familiar with the terminal commands, and I came across this command to install the Heroku toolbelt:
wget -qO- https://toolbelt.heroku.com/install.sh | sh
Now from here I gather that wget is used to download files from the internet through various supported protocols, and they'll download even if I logoff.
Is that right?
And I wanted to know two more things about that command :
I see
-q0-
in the code. What does it mean? From manpages I see that-q
is used to turn the output ofWget
off. But what does that mean too? And how is using-q
different from-q0-
What is the
|sh
at the end of the command for? What does that do?
Thank you very much for the time!