Make sure you have a well-functioning linux environment.
clone the repo
git clone https://github.com/Best-Verie/summative-2_Negpod_3
Run
cd summative-2_Negpod_3
bash main.sh
choose the operation according to the menu
- Recording student
- Viewing a list of all registered students
- Searching a specific student
- Updating student details by id
- Deleting student records by id
- A very exceptional navigation system
There are two additional scripts files in this directory, move-t0-directory.sh
and backup-Negpod_3.sh
.
- Running
move-to-directory.sh
will movemain.sh, Students-list_1023.txt, Select-emails.sh and student-emails.txt
into thenegpod_3-q1
directory - Running
backup-Negpod_3.sh
backups thenegpod_3-q1
directory to a remote server that is specified in the script.
Note:
The rsync
and sshpass
commands are not available on your system by default. That said, you will need to install them first before running backup-Negpod_3.sh
sudo apt update
sudo apt install rsync
sudo apt install sshpass
- Best Verie Iradukunda
- Jean Jabo
- Egide Harerimana
- Habib Josue Ahadi
- Hortance Irakoze