Melvin Wijenayaka Melvin Wijenayaka - 1 year ago 152
Linux Question

Amazon Linux curl

bash -c "$(curl -s"

I run the above script on and ec2 instance running Amazon linux to install prediction IO. Nothing happens no error. Does anyone know whats going on?

Answer Source

That command downloads a file in silent mode $(curl -s and then run the file with bash -c. you should run the command in separated steps to check what it is going on

curl -O
chmod +x 
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download