https://github.com/abdelrhman95/dbms
Database Management Engine Using Linux Bash Scripting
https://github.com/abdelrhman95/dbms
apt-packaging bash bash-script database dbms gui linux visual-studio-code yum-packaging zenity
Last synced: 5 months ago
JSON representation
Database Management Engine Using Linux Bash Scripting
- Host: GitHub
- URL: https://github.com/abdelrhman95/dbms
- Owner: abdelrhman95
- Created: 2023-08-04T06:48:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-13T00:09:29.000Z (over 2 years ago)
- Last Synced: 2025-01-30T17:37:11.447Z (about 1 year ago)
- Topics: apt-packaging, bash, bash-script, database, dbms, gui, linux, visual-studio-code, yum-packaging, zenity
- Language: Shell
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DBMS
Database Management Engine Using Linux Bash Scripting
# About the project
The project aim is to build a database engine simulator, and I have used bash scripting to do that, through the project you will find:
- the awk programming language that used to perform text processing and data extraction
- Functions for modularization and readability purposes
- the sed for searching, finding, and replacing
# Project details
The engine will first construct the "DB" directory, the top layer directory that holds database folders. then the database directories that will hold the tables. Third, at the level of tables, the engine creates two files for each table it creates in a DBMS:
- Data file: stores the data by users
- Metadata file: Table schema(Table name, primary key, columns types)
# GUI Installation
- I used the Zenity tool to popup dialogs for inputs instead of reading from stdin
- if you are using Ubuntu:
``` bash
sudo apt-get install zenity
```
- if you are using Centos:
```
sudo yum install zenity
```
# Note
- to run it make sure to set the project path to the .bashrc file
```bash
export PATH=$PATH:/the_projectpath_in_your_machine
```
- after that run it in your terminal
```bash
MainMenu.sh
```