小编her*_*zgx的帖子

如何同时获取linux命令的退出代码和stdout

curl [url]在Linux shell脚本中执行命令.我想在不使用临时文件的情况下同时获取此命令的退出代码及其输出.

有没有办法做到这一点?

linux shell stdout exit-code output

2
推荐指数
1
解决办法
2179
查看次数

标签 统计

exit-code ×1

linux ×1

output ×1

shell ×1

stdout ×1