I have a shell script like this,
#!/bin/bash
foxy1="foxyserver"
H="1"
and the output should be foxyserver.
I tried this,
echo $foxy$H
and this gives me
1
and then I used
str="foxy$H"
echo $str
the output is
foxy1
How could I do that?