Create a menu that will allow you 5 selections
for items and one to exit.
Inside the menu you need to read user input to
decide which of the 5 selections
- After a menu item is executed, the screen
should be repainted with the menu until the user
specifies that they want to finish.
- You need to somehow handle incorrect user
input, but only exit if they choose your exit option
For this part, you only need to print a message
for each of the 5 selections.
Sample Menu
Menu
1. Selection 1
2. Selection 2
3. Selection 3
4. Selection 4
5. Selection 5
Enter Your Selection ( x to Exit) ==>
Menu Item Functionality
- You need to bring the system down for maintenance and call the users to let
them know. This selection finds out who is logged in, pulls the first name
and the telephone number out of the addressfile and displays it to the
standard output.
- The user stu23 has gone home for the day and left his processes running.
You want to find those processes and stop them. You want to use this
option in the future so it will prompt for the user name, find and stop all
processes started by that user (include an “are you sure” message).
- It is discovered that two users have the same user id in the address file.
This option checks the addressfile for that situation and, if it exists, prompts
you for a new userid which it will fix in the file with.
- Your Boss has asked for a list of all users, but does not care about the
userid. This option will pull out all users and sort them by last name but the
output should be : Firstname Lastname Address Town Telephone number
The users are storing way too many files in their home directory and you
would like to notify the top 5 offenders. You might want to run this script
again for more or less users so this selection will prompt for the number of
users to identify, check how many files they have in their home directory
and send a list of those users to the standard output.
Hello Dear Client, after thoroughly reading your PROJECT DESCRIPTION i have clearly understood it and i would like to work with you.
I am Certified PHD holder in SOFTWARE ENGINEERING and DEVELOPMENT.
I am a skilled and experienced in the named SKILLS.
I consider your project DOABLE as it is within my areas of EXPERTISE. I am a competent guy committed in making your project a SUCCESS and providing the best QUALITY to your SATISFACTION.
NB. #100% job completion, No excuses on meeting the deadline, good communication and update on job progress.
Please click the chat button for more discussion about the project.
In case your project is deleted you can hire me directly on my profile.
CHEERS and Thanks in advance.
Hi,
If the Bash shell script development for running on Debian Linux meets your expectations, I have the necessary conditions to deliver your demand in accordance with the specifications.
Regards