結果 : how to check exit status of a command in shell script