Linux Today: Linux News On Internet Time.

How To Assign Output of a Linux Command to a Variable

Apr 24, 2020, 06:00 (0 Talkback[s])
(Other stories by Tecmint)

When you run a command, it produces some kind of output: either the result of a program is suppose to produce or status/error messages of the program execution details. Sometimes, you may want to store the output of a command in a variable to be used in a later operation.

Complete Story