https://github.com/debrajhyper/student-db-shell
This shell script provides a simple implementation of a CRUD operation on a list of student records.
https://github.com/debrajhyper/student-db-shell
bash bash-script linux linux-shell shell shell-script shell-scripting
Last synced: about 1 month ago
JSON representation
This shell script provides a simple implementation of a CRUD operation on a list of student records.
- Host: GitHub
- URL: https://github.com/debrajhyper/student-db-shell
- Owner: debrajhyper
- Created: 2023-03-03T13:03:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T14:29:17.000Z (about 2 years ago)
- Last Synced: 2025-02-15T01:44:25.306Z (3 months ago)
- Topics: bash, bash-script, linux, linux-shell, shell, shell-script, shell-scripting
- Language: Shell
- Homepage:
- Size: 304 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Student DB (Shell Script)
## Shell Script for CRUD Operations on Students
> This shell script provides a simple implementation of a CRUD (Create, Read, Update, Delete) operation on a list of student records. The script uses an array to store the student records, and provides a menu-driven interface to allow the user to perform different operations on the list.## Features
- ### The script allows the user to add a new student record to the list.
- ### The script allows the user to update an existing student record in the list.
- ### The script allows the user to delete a student record from the list.
- ### The script allows the user to print out the list of all student records.
- ### The script allows the user to print out any specific student record.
- ### Colorful Interface helps to navigate easily into the script.
## How to Use
### Windows
1. Download & install a Bash shell emulator (Git Bash or Cygwin)
2. Open the Bash shell emulator
3. Navigate to project folder `cd student-db-shell`
4. Run the script `./student_db.sh`
5. Enjoy!!!### Linux
1. Open the terminal
2. Navigate to project folder `cd student-db-shell`
3. Make the script executable `chmod +x student_db.sh`
4. Run the script `./student_crud.sh`
5. Enjoy!!!## Conclusion
This shell script provides a basic implementation of a CRUD operation on a list of student records using arrays, switch statements, and loops. It provides a simple menu-driven interface that allows the user to perform different operations on the list. However, this implementation is not suitable for managing large amounts of data, and does not provide any data validation.