Shell下使用curl | sh带参数:


curl -s http://server/path/script.sh | bash /dev/stdin arg1 arg2