title: use bash $HOME in shell script
body: <p>How to made bash to execute variable value.
  For example, we have this code, where variable value was set in single quotes(!).</p>
  
  <pre><code>#!/bin/bash
  V_MY_PATH='$HOME'
  echo "$V_MY_PATH"
  ls $V_MY_PATH
  </code></pre>
  
  <p>The output is</p>
  
  <pre><code>$HOME
  ls: $HOME: No such file or directory
  </code></pre>
  
  <p>How to made bash to translate shell variable insto its value if there is some.</p>
  
  <p>I want to add some code after V_MY_PATH='$HOME' to make output like echo $HOME.</p>
  
  <p>It's something simple, but i'm stuck.
  (NB: I know that with V_MY_PATH="$HOME", it works fine.)</p>
  
  <p>EDIT PART:
  I just wanted to make it simple, but I feel that some details are needed.</p>
  
  <p>I'm getting parameter from a file. This part works good. I don't want to rewite it.
  The problem is that when my V_MY_PATH contains a predefined variable (like $home) it's not treated like its value.  </p>