結果 : write command output to file bash