Welcome to the Bash Shell Script Database Management System (DBMS)! This project aims to create a lightweight, file-based DBMS using Bash scripts. Users can perform various database operations through a command-line interface.
- 📁 Create Database
- 📜 List Databases
- 🔗 Connect to Database
- 🗑️ Drop Database
- 📋 Create Table
- 📄 List Tables
- 🗑️ Drop Table
- ➕ Insert into Table
- 🔍 Select From Table
- ❌ Delete From Table
- 📝 Update Table
Clone the repository to your local machine:
git clone https://github.com/ahmedabougabal/DatabaseManagementSystem_ITI.git
cd DatabaseManagementSystem_ITI
Make the script executable:
chmod +x dbms.sh
Run the main script to start the DBMS:
./dbms.sh
Follow the prompts to interact with the DBMS.
- Create Database: Create a new database directory.
- List Databases: List all available databases.
- Connect to Database: Connect to a specific database.
- Drop Database: Delete a specific database.
Once connected to a database, the following commands are available:
- Create Table: Define a new table and its columns.
- List Tables: List all tables within the connected database.
- Drop Table: Delete a specific table.
- Insert into Table: Add a new row to a table.
- Select From Table: Display rows from a table.
- Delete From Table: Remove specific rows from a table.
- Update Table: Modify existing rows in a table.
We welcome contributions to enhance the DBMS. Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes with a descriptive message.
- Push your changes to your fork.
- Create a pull request to the main repository.