HELLO_WORLD_URL="https://gist.githubusercontent.com/MarkSHarrison/8b5d0f5e3dff96fe80caabf8b2df2801/raw"
# Execute remote bash script via curl
curl -s ${HELLO_WORLD_URL} | bash
curl -s ${HELLO_WORLD_URL} | bash -s arg1 arg2
bash <(curl -s ${HELLO_WORLD_URL}) arg1
eval "$(curl -s ${HELLO_WORLD_URL})"
source <(curl -s ${HELLO_WORLD_URL})
#Execute remote bash script via wget
wget -qO- ${HELLO_WORLD_URL} | bash
wget -qO- ${HELLO_WORLD_URL} | bash -s arg1 arg2
Last active
September 20, 2016 20:10
-
-
Save marksharrison/2297fbf6088defa20d8c43a9cd881a83 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment