solution

Write a shell script phonebook which has the following behavior:
? ./phonebook new name number adds an entry to the phonebook. and
? ./phonebook name displays the name and phone number associated with that name.
? ./phonebook list displays every entry in the phonebook (in no particular order). If the phonebook has no entries, display phonebook is empty
? ./phonebook remove name deletes the entry associated with that name.
? ./phonebook clear deletes the entire phonebook. – https://decal.ocf.berkeley.edu/labs/b3
Hint* You can find a lot of shell script examples at https://linuxhint.com/30_bash_script_examples/
screenshot of working terminal as well and an explanation

You will most likely need touch, echo , sed , and grep

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp