Question: Write a menu driven shell linux script program on the system to do the following tasks: Please use the needed grep and cut commands to

Write a menu driven shell linux script program on the system to do the following tasks: Please use the needed grep and cut commands to get the specific names please.

1. Display the IP address and the name of the machine only

2. Display all users currently on the system (id and full name only)

3. Display the server IP address, the netmask, and the broadcast addresses only

4. Enter users login id and display all processes belong to the entered id

5. Count how many login IDs on the server

6. Exit Program

Enter selection: _

Note: Your program should run forever until the user chooses to quit - (option 6).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!