title: Difference between eval and backticks (reverse apostrophe)
body: <p>Can anyone tell me what the big difference here is and why the latter doesn't work?</p>
  
  <pre><code>test="ls -l"
  </code></pre>
  
  <p>Both now work fine:</p>
  
  <pre><code>eval $test
  echo `$test`
  </code></pre>
  
  <p>But in this case:</p>
  
  <pre><code>test="ls -l &gt;&gt; test.log"
  
  eval $test
  echo `$test`
  </code></pre>
  
  <p>The latter will not work. Why is that? I know that eval is just executing a script while the apostrophes are executing it and return the result as a string. What makes it not possible to use <code>&gt;&gt;</code> or simmilar stuff inside the command to execute? Maybe is there a way to make it work with apostrophes and I'm doing something wrong?</p>