Skip to content

Instantly share code, notes, and snippets.

@rothgar
Created June 3, 2015 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rothgar/25b02364a4aeb7cb8072 to your computer and use it in GitHub Desktop.
Save rothgar/25b02364a4aeb7cb8072 to your computer and use it in GitHub Desktop.
curl2bash
# Curl to bash
# c2b http://random/script/you/shouldn't/trust.sh
c2b() {
curl -L ${1} | sudo bash
}
@jjasghar
Copy link

jjasghar commented Jun 3, 2015

🤘 gotta love living on the edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment