I have a bash variable: agent1.ip
with 192.168.100.137
as its value. When I refer to it in echo
like this:
echo $agent1.ip
the result is:
.ip
How can I access the value?
UPDATE: my variables are:
See Question&Answers more detail:os