Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Presentation Aids Practicing Your Speech?

Answered: 1 week ago