Assignment
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.
You will add to this document and submit it for grading. As a preview, each section will contain the following:
• UNIX Programming
o A script to automate the shutdown process
o A description of UNIX run levels
• UNIX Processes
o A script to automate user and group maintenance
o A script to kill the processes (and session) of a user
• Introduction to Perl
o A menu-driven Perl program for various UNIX commands
o A discussion about Perl variables
• Writing Perl Programs
o A Perl program that can be used to create and drop users and groups
o A discussion about Perl's usage or regular expressions
• UNIX Tools (Week 5 IP)
o A completed Perl program
o A discussion about compiling a C program
The MS Word document should follow this format:
• UNIX Systems Programming Project document shell
• Title page
o Course number and name
o Project name
o Student name
o Date
• Table of contents
o Use autogenerated TOC
o Separate page
o Maximum of 3 levels deep
o Update TOC
• Section headings (create each heading on a new page with "TBD" as content, except for sections listed under "Add the following new content" in the assignment description)
o UNIX Programming
o UNIX Processes
o Introduction to Perl
o Writing Perl Programs
o UNIX Tools
• For this week's assignment, add the following new content:
o UNIX Programming
- A script to automate the shutdown process
- A description of UNIX run levels
The response should include a reference list. Double-space, using Times New Roman 12 pnt font, one-inch margins, and APA style of writing and citations.