Question: Assignment: Create a shell script and perform linux commands and capture a screen shot of the output Write a shell script that does the following:

Assignment: Create a shell script and perform linux commands and capture a "screen shot" of the output

Write a shell script that does the following:

Use best practices... comments, shebang, expected number of arguments, exit codes, etc

Prompts the user to enter their name

Depending on the time of day, output a greeting that says either "Good Morning xxx", "Good Afternoon xxx", or "Good Evening xxx" (with "xxx" as their name)

Have a 10 second "count down timer" that displays the message "This message will self destruct in xx seconds". The message should repeat on the same line

Display a "Boom!" message on a new line

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!