Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started