I have code like below:
a=$(echo "b")
And I want see output of that at the same time and also get output value to be stored to variable at one command. I am not meaning this:
a=$(echo "b")
echo "$a"
I have code like below:
a=$(echo "b")
And I want see output of that at the same time and also get output value to be stored to variable at one command. I am not meaning this:
a=$(echo "b")
echo "$a"