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