The first script that needs to be written is automating the shutdown procedure. Write a script that will perform the following tasks:
- Prompt the system administrator for all valid input parameters.
- Ask if a wall needs to be sent, and if yes, send the message.
- Ask if this is a shutdown or reboot, and process appropriately.
In addition, take this opportunity to describe the various UNIX run levels, what each level is used for, and how to boot to a specific run level.
You should also take this opportunity to create the template for your entire class project (also known as the key assignment), and create a Word document that you will add to for each remaining assignment.
Each week, you will add to this document and submit it for grading. As a preview, each section will contain the following: