I want to write Bash Script with user input for my destination, called the "bookstore service." Firstly, it has a menu of options, for example, “add a new book name”, “author name”, “delete book”, “update” “search”, “book list”, “Exit”. If I choose option 1, I must enter a new name for the book. How can I write user input and output data when I select the "Book List" option. I have problems with this task. Pls someone help me figure this out, it will be really helpful and thankful to all of you.
source
share