seeking to upgrade my bash magic. help decipher this command: bash -s stable
Posted
by
tim
on Super User
See other posts from Super User
or by tim
Published on 2012-12-15T21:38:57Z
Indexed on
2012/12/15
23:07 UTC
Read the original article
Hit count: 379
bash
ok so i'm working through a tutorial to get rvm installed on my mac. the bash command to get rvm via curl is
curl -L https://get.rvm.io | bash -s stable
i understand the first half's curl command at location rvm.io, and that the result is piped to the subsequent bash command, but i'm not sure what that command is doing. My questions:
-s : im always confused about how to refer to these. what type of thing is this: a command line argument? a switch? something else?
-s : what is it doing? i have googled for about half an hour but not sure how to refer to it makes it difficult.
stable : what is this?
tl;dr : help me decipher the command bash -s stable
to those answering this post, i aspire to one day be as bash literate as you. until then, opstards such as myself thank you for the help!
© Super User or respective owner