結果 : shell script wait for previous command to finish