bash pass variable to command code example Example: bash variable in string ${!var} #Just use to use reference value inside another variable ;)