Skip to content

Instantly share code, notes, and snippets.

@benkulbertis
Created October 9, 2012 09:06
Show Gist options
  • Save benkulbertis/3857523 to your computer and use it in GitHub Desktop.
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