0

I found these command from http://rvm.io/rvm/install

Why do we need \ in the following command?

$\curl -sSL https://get.rvm.io | bash
Jens
  • 69,818
  • 15
  • 125
  • 179
drdot
  • 3,215
  • 9
  • 46
  • 81
  • "How to ignore aliases or functions when running a command?" -- http://www.cyberciti.biz/faq/ignore-shell-aliases-functions-when-running-command/ –  Sep 13 '14 at 19:51
  • Also note that piping anything directly into a shell is a **huge** security risk. You don't want to execute random commands without inspecting them first. – Jens Sep 12 '17 at 07:05

1 Answers1

4

Short version: This skips replacing "curl" with an alias you might have defined.

A more verbose answer you can find here: \curl ... | bash ... what's the slash for?

derphilipp
  • 56
  • 2