Here is the assignment details:
Part 1: Scripting
Purpose
Scripts are an essenti
Here is the assignment details:
Part 1: Scripting
Purpose
Scripts are an essential tool for system administrators. Scripts help an administrator automate menial tasks in the workplace, thus freeing them up for other tasks that require their attention.
Instructions:
Write a script that will assist you as a Linux administrator. A script is a text file with Linux commands you can execute. Your script must include a discipline you have learned during this class (mail, user accounts, etc.). You can reuse some code, as that is common practice; however, you must include code to make it original to you.
For the script, you need to show the script running on a Linux server. You need to show the scripts output. In the case of your script, you need to show it creating user accounts and then show that the account was created. Additionally, please add the screenshots of your script on the server after every step of the command.
For example:
# Function to display menu
display_menu() {
echo————————————”
echo ” Linux Administration Script Menu”
echo “—————————————”
echo “1. Create User”
echo “2. Delete User”
echo “3. List Users”
echo “4. Send Notification Email”
echo “5. Exit”
echo “—————————————”
}
After the above is ran, attach a screenshot.