我有一个bash变量:agent1.ip与192.168.100.137作为其值.当我参考它时echo:
agent1.ip
192.168.100.137
echo
echo $agent1.ip
结果是:
.ip
如何获取价值?
更新:我的变量是:
bash
bash ×1