title: PL/SQL query on machine linux bash that prints in a .txt
body: <pre><code>spool 1.txt REPLACE
  
  set serveroutput on
  begin
    DBMS_OUTPUT.PUT_LINE('AAAAA');
  end;
  /
  spool off
  </code></pre>
  
  <p>Does someone know why this query doesn't run?</p>
  
  <p>I have made a .sh script that opens this .sql query but it doesn't return any response.</p>
  
  <p>And the .sh is :</p>
  
  <pre><code>sqlplus -s user/pass@database @sh.sql
  </code></pre>