|
Thanks mate,
Hope im not asking for too much but, How would i write a script in a bash shell that can:
a) reboot the box
b) prefix a reboot with a suitable warning and pause
c) ping an IP address specified by the user and report on the response
d) kill a processes as specified by the user
e) add and delete a user
If you can give me the code for each one, i know how to put it into a menu (if, else if .... etc)
Thanks
|