Created
March 23, 2017 07:54
-
-
Save Maxstupo/0a64c4bd2bc647c23a96c289fc512b9b to your computer and use it in GitHub Desktop.
Run bash script from url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s $1 | sudo bash /dev/stdin | |
# Usage: bash run-from.sh <url-to-bash-script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment