Bash run script on web page from url

To run a script or set of commands from a remote website, do the following:

bash < <(curl --silent

This will cause curl to pull the script and redirect its contents to stdin for bash to parse.

NOTE: be careful with this

This post is available on GitHub.
Posted .


Leave a Reply