How to Exit sqlite3 in terminal

I have ran sqlite3 from terminal but have problem exiting it.

this is how i have ran it:

sqlite3 database.db

i have tried CTRL+C but it wont exit, i have tried ESC, close(), exit() and it doesn’t let me go.

Asked By: senaps


Type .quit or use Ctrl+D.

Type .help to get a list of available commands.

Answered By: Florian Diesch
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.