結果 : check status of last command in shell script