Search code examples
curlmeteorsh

curl "| sh" command


What does "| sh" mean in this particular line. I'm trying to google it for better understanding, but it seems I can't find the right term for it.

$ curl https://install.meteor.com | sh

I was able to run it and it downloaded meteorjs however, I was really curious with "| sh".

Thanks!


Solution

  • | can be read as "pipe"

    The above command means "pipe the result of curl to sh" - a.k.a "get the script from this url and run it using sh"