結果 : check status of previous command bash