bash send result to variable code example Example: save output of command to craible bash Click to copypassword=$(openssl rand -base64 32) echo $password