title: How to remove -journal file without compromising the database?
body: <p>I'm using SQLite and a php application that runs in background. I have blocked the application using (Ctrl-c) and I just noticed that i have database.sqlite and database.sqlite-journal.</p>
  
  <p>At the moment, How can I remove -journal file without compromising the database?</p>
  
  <p>Thank you!</p>
  
  <p>P.S. SQLite version 3.7.9</p>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>-rw-r--r--. 1 damiano damiano  51M  8 mar 18.15 test.sqlite2
  -rw-r--r--. 1 damiano damiano 2,6K  8 mar 18.15 test.sqlite2-journal
  [damiano@localhost backup]$ sqlite3 test.sqlite2
  SQLite version 3.7.13 2012-06-11 02:05:22
  Enter ".help" for instructions
  Enter SQL statements terminated with a ";"
  sqlite&gt; 
  [damiano@localhost backup]$ ls -lh
  -rw-r--r--. 1 damiano damiano  51M  8 mar 18.15 test.sqlite2
  -rw-r--r--. 1 damiano damiano 2,6K  8 mar 18.15 test.sqlite2-journal
  [damiano@localhost backup]$ 
  </code></pre>