Created
November 12, 2023 02:26
-
-
Save yungwarlock/1514cdee5c2329105353e8d323543c46 to your computer and use it in GitHub Desktop.
How to use sqlite3 cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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