Capture Results of Command in Variable on Mac - DevPops-Inc/mac GitHub Wiki
• Type < variable >=$(< command >) and press the return key to declare a variable set it capture the results of the command.
•

• Type echo $< variable > and press the return key to print the results of the command in the Terminal.
•
