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

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 General Management Questions!