This is probably a very basic question but for some reason I seem to be over looking the obvious.
I have a variable called filepath=/tmp/name
To access the variable I know that I can do this $filepath
In my shell script I attempted to do something like this (The back ticks are intended)
`tail -1 $filepath_newstap.sh`
This line fails, duuh! because the variable is not called $filepath_newstap.sh
How do I append _newstap.sh
to the variable name? Please note that back ticks are intended for the expression evaluation