title: Running sqlplus in background in Unix
body: <p>I am trying to run an <code>.sql</code> file from <code>sqlplus</code> in Unix environment as a background process.</p>
  
  <p>I am connecting to Unix using Tectia or Putty, and I want <code>sqlplus</code> to continue running in background even if my terminal closes.</p>
  
  <p>This command works</p>
  
  <pre><code>$ sqlplus USERNAME/password@SCHEMA
  SQL&gt;@test.sql
  SQL&gt; quit
  </code></pre>
  
  <p>but when trying to start it in background it fails</p>
  
  <pre><code>$ sqlplus USERNAME/password@SCHEMA&amp;
  SQL&gt;@test.sql
  SQL&gt; quit
  </code></pre>
  
  <p>What is the right command/script?</p>