結果 : how to exit tail command in shell script