Question: I am needing to do this in bash. I understand the logic behind it but I'm not familiar with bash syntax. ouTube Maps e cun

I am needing to do this in

I am needing to do this in bash. I understand the logic

bash. I understand the logic behind it but I'm not familiar with bash syntax.

ouTube Maps e cun Problem Set 2 - Linux Fix t 0 0 file:///C:/Users/corde/Downloads/Problem%20et%202%20-%20Linux%20File%20Systems.pdf 3 of 4 lo - + Fit to page D Page view A Read aloud L Add notes For each of the following problems, submit the command as requested. la e Generate a bash script named -p2.sh (eg, mackey-ps2.sh) that prompts the user to enter a selection. It should continue to prompt the user to enter a selection until the user enters "exit". Based on the user's input, perform one of the following tasks: 1. calendar - the program should display a calendar 2. users - the program should display the users and logged into the system and it should say "The system has been up since: " and display the amount of time the system his been running 3. hello - prompt the user to enter a name and an email address and say "Hello, ! Your email address, has been saved." (eg. Hello, Andrew Mackey. Your email address, andrew.mackey@asdf.edu, has been saved.). 4. Anything other than the above commands or exit - tell the user that an invalid command has been entered and try again Execute your program and save a screenshot of the results for each command. Submit your script file to the course website. It must have your name and problem set number as a comment in the script ouTube Maps e cun Problem Set 2 - Linux Fix t 0 0 file:///C:/Users/corde/Downloads/Problem%20et%202%20-%20Linux%20File%20Systems.pdf 3 of 4 lo - + Fit to page D Page view A Read aloud L Add notes For each of the following problems, submit the command as requested. la e Generate a bash script named -p2.sh (eg, mackey-ps2.sh) that prompts the user to enter a selection. It should continue to prompt the user to enter a selection until the user enters "exit". Based on the user's input, perform one of the following tasks: 1. calendar - the program should display a calendar 2. users - the program should display the users and logged into the system and it should say "The system has been up since: " and display the amount of time the system his been running 3. hello - prompt the user to enter a name and an email address and say "Hello, ! Your email address, has been saved." (eg. Hello, Andrew Mackey. Your email address, andrew.mackey@asdf.edu, has been saved.). 4. Anything other than the above commands or exit - tell the user that an invalid command has been entered and try again Execute your program and save a screenshot of the results for each command. Submit your script file to the course website. It must have your name and problem set number as a comment in the script

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!