How to execute bash script from an URL

source <(curl -s http://mywebsite.com/myscript.txt) ought to do it. Alternately, leave off the initial redirection on yours, which is redirecting standard input; bash takes a filename to execute just fine without redirection, and <(command) syntax provides a path. bash <(curl -s […]