Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

/dev/stdin execute remote script with passing args

curl -s http://server/path/script.sh | bash /dev/stdin arg1 arg2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #execute #remote #script #passing #args
ADD COMMENT
Topic
Name
4+3 =