- Mwiza Cannelle
- Sharif Kiviiri
- Nanen Miracle Mbanaade*
- David Muotoh-Francis
- DaVinci Murengezi Gisanura
- Fatoumata Ndiaye
- Samuel Niyonkuru
This shell-based application manages student records for the Bachelor of Software Engineering cohort. It will allow users to create, view, delete, and update student records, as well as extract student emails.
- main.sh: The main script to manage student records.
- students-list_1023.txt: The file where student records are stored.
- select-emails.sh: Script to extract student emails from the records.
- student-emails.txt: The file where extracted emails are saved.
- Create Student Record: Add a new student record by providing email, age, and student ID.
- View All Student Records: Display all saved student records.
- Delete a Student Record: Remove a student record using the student ID.
- Update a Student Record: Update an existing student record using the student ID.
- Exit: Exit the application.
- Extract Student Emails: Extract all student emails and save them to
student-emails.txt.
- Ensure the script has execute permissions:
chmod +x main.sh
- Run the script:
./main.sh
- Create student record: Prompts for student email, age, and ID, then saves the record.
- View all student records: Displays all student records in the terminal.
- Delete a student record: Prompts for student ID and deletes the corresponding record.
- Update a student record: Prompts for student ID and updates the corresponding record with new details.
- Exit: Exits application.
- Ensure the script has execute permissions:
chmod +x select-emails.sh
- Run the script to extract emails:
./select-emails.sh
The emails will be saved in student-emails.txt.
The main shell script to manage student records. It includes functions to create, view, delete, and update records, and a loop to display a menu and also handle user input.
- create Student Record
- Save student Record
- view all students
- delete student record
- Update student record
- Exit the application
- Select and save student Emails
The text file where student records are stored. Each record is stored in the format: Expected files to have in question 2:
- Move-to-directory.sh
- Negpod_id-q1
- backup-Negpod_ID.sh the application will manage a list of student records.