Question: You will be required to develop a UNIX based Shell Script to automate management tasks for a Linux Operating System. The solution will be a
You will be required to develop a UNIX based Shell Script to automate management tasks for a Linux Operating System. The solution will be a menu driven program that provides the systems administrator options to run the following automated tasks:
2 Restore User Profile The script should perform the following subtasks:
Prompt the systems administrator for a username.
Verify the backup file exists in /home/backups directory for that username
Delete all files/folders under the user directory
Extract all files/folders from backup archive to user directory
Your program should not perform this option if the user account doesnt exist on the system.
The script should display appropriate status messages that informs the systems administrator of the processes that are taking place and the success/failure of the tasks.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
