結果 : bash script check status of last command