我想创建一个Linux shell脚本,以并行方式运行CURL命令。
例如:我有三个命令:
1. curl -s http://localhost/process.php?id=1 2. curl -s http://localhost/process.php?id=2 3. curl -s http://localhost/process.php?id=3
我想同时调用上述三个命令。
任何帮助都将不胜感激。
例如:我有三个命令:
1. curl -s http://localhost/process.php?id=1 2. curl -s http://localhost/process.php?id=2 3. curl -s http://localhost/process.php?id=3
我想同时调用上述三个命令。
任何帮助都将不胜感激。
&
连接命令即可。 - choroba