title: Syntax error: redirection unexpected
body: <p>I ran a deployment script to setup my server as root. Then I tried to run another script called test.sh which had the following lines in it:</p>
  
  <pre><code># Logging
  exec  &gt; &gt;(tee -a /var/log/test_full.log)
  exec 2&gt; &gt;(tee -a /var/log/test_error.log)
  </code></pre>
  
  <p>However when I try this I get the following error: </p>
  
  <pre><code>test.sh: 19: test.sh: Syntax error: redirection unexpected
  </code></pre>
  
  <p>What might be causing this issue do you think? I've not heard of this error before.</p>