In Installing RVM manual I see a lot of lines starting with '\':
Install RVM with ruby:
$ \curl -L https://get.rvm.io | bash -s stable --ruby
I'd think it is just mistype but they repeat it many times.
So what is the reason?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityIn Installing RVM manual I see a lot of lines starting with '\':
Install RVM with ruby:
$ \curl -L https://get.rvm.io | bash -s stable --ruby
I'd think it is just mistype but they repeat it many times.
So what is the reason?
There's no error, it's a little hack to avoid using a curl
shell
alias if any exists.
This works too :
'curl' (...)
"curl" (...)
/usr/bin/curl (...)
command curl (...)
command -p curl (...)
curl='curl -foo'
Feb 27, 2013 at 14:39
A command preceded by a slash temporarily disables any aliases for the command.