Hello,
I am in a Unix class and have been out of town. I have been tasked to generate a couple of scripts and ahve never done it before. I have a virtual machine running Ubuntu. The task is below
Prompt the system administrator for all valid input parameters
Generate a menu to ask which task is needed to be performed
Create a UNIX group
Drop a UNIX group
Create a user
Drop a user
Prompt the system administrator for the target user name
List the running processes for that user
Confirm with the system administrator before killing the processes
Kill the processes after confirmation
I understand the commands to create users and groups and to kill processes, but I do not know how to write a scrpt to perform all of this and prompt the admin/generate menus
Any help would be greatly appreciated