Question: May I get help with this problem in the Mac terminal - Linux, please? Ex-3 Write a script that display a message saying: Enter your

 May I get help with this problem in the Mac terminal

May I get help with this problem in the Mac terminal - Linux, please?

Ex-3 Write a script that display a message saying: Enter your name. The script must then read the name that the user has typed followed by asking the user to enter the phone number. Then the scrip must read the phone number. Then the script must append the name and phone number (separated by a comma) and place it in a file called phones. Ex-4 Modify the above script having a loop that continuously ask the user to enter a name and phone number. Each time, the script must append the information to a file called phones. Each time, the script must ask the user: Do you want to continue (Y/N)? Name this script script1. Test the script and make sure it runs OK. Ex-5 Write a different script called phoneMenu to display a menu of choices as follows: 1- Enter Data 2- Show names 3- Show phone numbers Then display the command saying please enter the choice. Read the choice. If the choice is 1, then execute script1. If the choice is 2 then write the command to cut the names from file phoneMenu and display that. If the choice is 3 then write the command to cut the phones from the phoneMenu and display that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!