commands.sh

sqlite3

all

Interface to SQLite 3, which is a self-contained file-based embedded SQL engine.

More info →

Examples (3)

Start an interactive shell with a new database

Open an interactive shell against an existing database

sqlite3 path/to/database.sqlite3

Execute an SQL statement against a database and then exit

sqlite3 path/to/database.sqlite3 'SELECT * FROM some_table;'
made by @shridhargupta | data from tldr-pages