Question: Write a shell script utilities.sh that performs basic utility task using an interactive menu. Below is the main logic of your shell script. You will
Write a shell script utilities.sh that performs basic utility task using an interactive menu. Below is the main logic of your shell script. You will have to repeat the menu over and over in an eternal loop and perform the following steps: Clear the screen and display the menu. Read a line of input from the keyboard. Check the user answer and dispatch to the appropriate part of your script (use case statement). If the entry was invalid print a correct usage message. Your menu should include options for showing: 1. What is the ongoing processor activity (use the top unix command). 2. Information about the users currently logged in. 3. The number of users currently logged in. 4. The login names only of the users that use bash, sorted and with duplicates removed (see shell slides)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
