Melvin Wijenayaka Melvin Wijenayaka - 10 months ago 86
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