Question: Composite experiment Operating Systems Develop a Student Score Management system using Shell Scripting Requirement: The System should have below basic functions - Add: add a

Composite experiment Operating Systems Develop a Student Score Management system using Shell Scripting Requirement: The System should have below basic functions - Add: add a new record, e.g. "Mary Stone 98" - Delete: delete a record by name - Search: search records by name - Display: display all the records - Help: show the help menu - Exit: exit the system Each of them should be implemented by individual functions called in the main script You can add some checks to make the script more robust. Eg - Before adding a new record, you can check whether the record file exists. If no, a file should be created first - Before deleting, you can check whether the name exists and show some message - Before searching, you can check whether the name exists and show some message Hints: Below commands can be used - echo, read, grep, pipe, cat/more, exist - function, if/case, loop To implement delete, you can first copy existing record file to a backup file, then use invert match to find non-matching lines, then write to the record file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
