Skip to content

Instantly share code, notes, and snippets.

@yungwarlock
Created November 12, 2023 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yungwarlock/1514cdee5c2329105353e8d323543c46 to your computer and use it in GitHub Desktop.
Save yungwarlock/1514cdee5c2329105353e8d323543c46 to your computer and use it in GitHub Desktop.
How to use sqlite3 cli
#!/bin/bash
# Connect to database
sqlite db.sqlite
# Get all tables names
.table
# Get all tables and their information
select * from sqlite_master;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment