I want to reference a bash variable from a variable without using:
echo "${!VARNAME}"
Any ideas? Since iI want to use the variable on fly and many such references are there, i cantI can't declare them to another variable and use it.
exampleExample:
var1=host
${var1}_file ----> host_file is another variable that i want to call in a command.