Report question

Question: Display output of a Bash command and keeping the output in a variable