Ausgabe em variável speichern bash

variable1=$(command MeinCommand)
echo "$variable1"
AttractivePenguin