Question: Assignment: Part 1) Create a shell script and Part 2) Perform linux commands Requirements: Part 1- Write a shell script that does the following: Use

Assignment: Part 1) Create a shell script and Part 2) Perform linux commands

Requirements: Part 1- 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

Requirements: Part 2- Provide a series of "screen shots" of your Linux console that shows the following:

  • Create a unique list of shells from /etc/password file
  • Modify the /etc/adduser.conf file to allow for "dots" in the name
  • Find all files owned by you
  • List all of the recorded boot times for your system

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!