結果 : bash check output of previous command