Country : Australia
Assignment Task:

You are required to write a Bourne Again Shell Script (bash) to manage a menu-driven program. When executed the user should be presented with a menu with four (1) options: Print the following user information: the home directory, print files and folder in column format, user id, login shell together with the current date and time. Generate 5 random numbers between 0 and 100 and display the generated random numbers. Print out the highest and the lowest numbers of the generated random numbers. Exit the program. 

Requirements 
Your script must allow one of these options to be chosen at a time. The menu must be presented repeatedly, until the fourth option (exit) is chosen. 

An appropriate error message must be displayed if an invalid option is chosen. 

Option 1: your script should list the specified environment variables - the home directory, print files and folder in column format, user id, login shell together with the current date and time. 

Option 2: should generate 5 random numbers and display the generated random numbers. 

Option 3: should list the highest and lowest number of the generated random numbers. 

Option 4: should cause a graceful exit from the menu and the whole program.
 

This IT Assignment has been solved by our IT Experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

  • Uploaded By : Alex Cerry
  • Posted on : July 10th, 2019
  • Downloads : 423

Whatsapp Tap to ChatGet instant assistance