【发布时间】:2020-10-10 17:31:16
【问题描述】:
所以我有这个代码:parallel --jobs 5 curl --write-out '\\n %{http_code}\\n' --silent --head --output /dev/null https://example.com/id={} ::: {427240690783..427240690793}
返回 10 批 404。
如果 HTTP 响应代码为 200,我想回显当前作业迭代 ID,显示在 {} 中。我将如何回应这些?
抱歉,我是 GNU 的新手。
【问题讨论】:
标签: gnu gnu-parallel