結果 : how to get exit code of command in bash