Skip to content

Instantly share code, notes, and snippets.

@benkulbertis
Created October 9, 2012 09:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save benkulbertis/3857523 to your computer and use it in GitHub Desktop.
Execute a remote script with bash
#!/bin/bash
SCRIPT=$1
shift
bash -s < <(curl -sL $SCRIPT) $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment