結果 : write output of command to variable bash