結果 : write to log file bash script