我curl [url]在Linux shell脚本中执行命令.我想在不使用临时文件的情况下同时获取此命令的退出代码及其输出.
curl [url]
有没有办法做到这一点?
linux shell stdout exit-code output
exit-code ×1
linux ×1
output ×1
shell ×1
stdout ×1