Question: Linux Shell Scripting [Introduction to Linux using awk, sed, vi, if elif else, cut, pipes etc] (no array, no grep) Write a menu for a
Linux Shell Scripting [Introduction to Linux using awk, sed, vi, if elif else, cut, pipes etc] (no array, no grep)

Write a menu for a phone book system. A- Enter contact information B- Search using a name C- Search using phone number D- Exit Use case statement for reading choices. If choice A is selected then run another script to read contact information. If Bis selected run another script that search using a name. If C is selected run another script to search using phone number. Script for part-A: clear the screen and display: 1- First Name 2- Last Name 3- Phone 4- Email: 5- Exit Store all information in a file and repeat asking the same questions unless the user selects Exit. Then yo should go back to the main menu Script for part-B: Read the name and use awk to search in the file for the given name and display the phone number of that person Script for part-C: Read the phone and use awk to search in the file for the given phone and display the email and name of that person
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
