Page 1 of 1

Develop bash-script for the following questions: Q1. A script to read name, phone number and email from user and append

Posted: Fri Jul 08, 2022 7:28 am
by answerhappygod
Develop Bash Script For The Following Questions Q1 A Script To Read Name Phone Number And Email From User And Append 1
Develop Bash Script For The Following Questions Q1 A Script To Read Name Phone Number And Email From User And Append 1 (44.24 KiB) Viewed 42 times
Develop bash-script for the following questions: Q1. A script to read name, phone number and email from user and append it to a file phone_book.txt. The script should iteratively ask the user for data until the name is entered as "AAA" in which case, the script should stop iterating. (30 Marks) Q2. A script that reads a name from user and search for the name in a file phone_book.txt. Once found, display the name, number and email on screen. If the name does not exist, then display the message "Name does not exist!". If more than one name is found, then display all results in multiple lines. (70 marks) Note: ● The output has to be in the following format: Name: Phone: Email: ******** Your script should NOT be case sensitive, e.g. JoHn and john should be considered equal.