Say I have a variable:
T=6
And another variable called 'line' that I read from a file and that contains the following string/text:
echo "$T"
Now I want to execute the command written in 'line' so I'll get:
6
Just like what I will get if will just type the command:
echo "$T"
And get:
6
I tried to use:
$line
But I got:
"$T"
Thanks in advance for the help.
echo "$T". Then you can useecho $line.