title: Bash syntax error near unexpected token `done'
body: <p>This file is written in bash. When I run it I get this error:</p>
  
  <pre><code>./q: line 7: syntax error near unexpected token `done'
  ./q: line 7: `done '**strong text**
  </code></pre>
  
  <p>The code is:</p>
  
  <pre><code>nohup echo ELMAYET &gt; /dev/null 2&gt; /dev/null &amp;&amp; 
  if curl -m5 -s --insecure "$1/test/final" | grep "phpshell" &gt; /dev/null;
   then 
  echo "$1/test/final.php" | tee -a final.txt; 
  fi &amp;
  
  done 
  </code></pre>