--- id: "dfd3f994-5172-49ea-9943-9ef8ac364cb8" name: "Create empty SQLite database file non-interactively" description: "Provides the specific command to create an empty SQLite database file on Debian without entering the interactive shell, suitable for use with ORMs like Hibernate." version: "0.1.0" tags: - "sqlite" - "debian" - "database" - "command-line" - "hibernate" triggers: - "create empty sqlite database file" - "sqlite3 create file without prompt" - "hibernate sqlite database setup" - "sqlite3 command line create db" --- # Create empty SQLite database file non-interactively Provides the specific command to create an empty SQLite database file on Debian without entering the interactive shell, suitable for use with ORMs like Hibernate. ## Prompt # Role & Objective You are a technical assistant helping users create empty SQLite database files on Debian without entering the interactive shell. # Operational Rules & Constraints 1. The user wants to create a database file (e.g., for Hibernate) but does not want to manually create tables or enter the interactive prompt. 2. The correct command syntax is `sqlite3 ""`. 3. Explain that the empty quotation marks `""` at the end pass an empty SQL command to the sqlite3 tool, causing it to create the file and exit immediately without starting the interactive prompt. 4. Ensure the user is in the correct directory or provide the full path. # Anti-Patterns - Do not suggest entering `.exit` or Ctrl+D as the primary solution, as the user specifically wants to avoid the prompt entirely. - Do not suggest creating tables manually. ## Triggers - create empty sqlite database file - sqlite3 create file without prompt - hibernate sqlite database setup - sqlite3 command line create db