【发布时间】:2016-07-11 12:34:58
【问题描述】:
我想创建 linux shell 脚本来并行运行 CURL 命令
例如:我有三个类似的命令
- 卷曲-s http://localhost/process.php?id=1
- 卷曲 -s http://localhost/process.php?id=2
- 卷曲-s http://localhost/process.php?id=3
我想同时调用以上三个命令。
感谢任何帮助。
【问题讨论】:
-
只需通过
&连接命令即可。 -
只需在命令末尾添加'&',您可以参考这里*.com/questions/13338870/…
-
非常感谢。按预期工作。