title: redirecting output of shell to a file with ampersand returns some additional commands in output
body: <p>I have a simple shell script which contains echo statement as below.</p>
  
  <pre><code>-bash-3.2$ vi dummy.sh
  echo "hi"
  </code></pre>
  
  <p>If i simply execute that file it writes <code>"hi"</code> as output to a file called <code>"text"</code> as below</p>
  
  <pre><code>-bash-3.2$ ksh dummy.sh &gt; text
  -bash-3.2$ cat text
  hi
  -bash-3.2$ 
  </code></pre>
  
  <p>Now , If I execute the same script with <code>&amp;</code>  at the end, its writing <code>hi</code> output with other command text as below.</p>
  
  <pre><code>-bash-3.2$ ksh dummy.sh &gt; text &amp;
  [1] 11208
  -bash-3.2$ cat text
  hi
  [1]+  Done                    ksh dummy.sh &gt; text
  -bash-3.2$ 
  </code></pre>
  
  <p>I dont want to print <code>[1]+  Done                    ksh dummy.sh &gt; text</code> line in the output file called <code>text</code> with <code>&amp;</code> mode.
  Could any one please tell me how to achieve this as i need to execute 100s of scripts in backend mode? </p>