So Here is my code
cd $cer_mgr
table='hostname'
environment='echo $environment'
cat mq_$table_$environment_startup.ksh
I'm trying to make the results of the command "hostname" into a variable so that i can use it in my cat command. Well what I have is not working. So how do I use that variable as party of the command.
cat mq_<hostname>_<environment>_startup.ksh
this script is going to be used on different nodes so the hostname and environment will change but the rest will stay the same. How do I pull that information and use it in that line