hi guys, how do I make a simple script to restart a service like:
do I just need to key in that command in a script?
is there a way to prompt the user like:
Are you sure you want to restart?
Press 'Yes' to proceed 'No' to cancel.
Need your help guys, sorry so noob in linux scripting.
Thanks in advance.