結果 : bash script wait for previous command to finish