write a Bourne Again Shell Script (bash) to manage a menu-driven program. When executed the user should be presented with a menu with four (4) options: Print the following user information: the home...

write a Bourne Again Shell Script (bash) to manage a menu-driven program.When executed the user should be presented with a menu with four (4) options:

  1. Print the following user information: the home directory, print files and folder in column format, user id, login shell together with the current date and time.

  2. Reads a set of numbers between 0 and 100 until a sentinel value is entered. Use the value -99 as the sentinel value to terminate the loop. The idea of a sentinel controlled loop is that there is a special value (the 'sentinel') that is used to say when the loop is done.

  3. Print out the average, highest number and the lowest number of the entered numbers, also list all numbers above the average.

  4. Exit the program.



Sep 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here