SQLite - How to execute a sql command without opening the interactive shell
Update: 2022/7/7
Environment
- OS: Windows/Linux
- Tool: Sqlite3 Shell
Steps to setup
- Download the sqlite3 binary
- Extract to the environment path
- Open command line prompt and execute:
sqlite3 db "SQL Command"