BASH - Double and triple substitution $ a="abc"; b="123"; abc123="ivanhoe"; eval echo "\${$a$b}" Output: ivanhoe
All About Operating System: Unix, Linux, Raspberry Pi [ BASH - SOA - Oracle - Database - Software - Hardware ]
All About Operating System: Unix, Linux, Raspberry Pi [ BASH - SOA - Oracle - Database - Software - Hardware ]