I have a command that if I execute, it gives me below output:
[abctt]$ /abc/prr/test.sh config -get center.id
Connecting to the service endpoint at http://localhost:8003
POY Properties:
UU001
Now I want to extract "UU001" value and store in a variable and then print that variable value. So I tried something like below but it gives me error:
[abctt]$ id=`/abc/prr/test.sh config -get center.id | tail -2`;echo $id
id=UU001: Command not found.
id: Undefined variable.
What is wrong I am doing here?