title: how to assign one variable value into another variable in shell script
body: <p>I tried below shell code to get the value of <code>temp</code> as "good 1" and "good 2", but I was not able to.</p>
  
  <pre><code>hello_1="good 1"
  hello_2="good 2"
  for i in 1 2
  do
  temp="hello_$i"
  echo $temp
  done
  </code></pre>
  
  <p>I want to fetch <code>hello_1</code> and <code>hello_2</code> variables value into <code>temp</code> variable.
  I tried  above script but I was not able to get values of <code>hello_1</code> and <code>hello_2</code> into <code>temp</code>. please help me.</p>