結果 : write command output to variable bash