#!/bin/bash # Get the directory where the script is located SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # Define the database file path in the script's directory DB_PATH="$SCRIPT_DIR/test.db" # Execute the SQL commands using sqlite3 sqlite3 "$DB_PATH" <