save command output to shell variable

A collection of 1 post