Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions